![]() |
|
#1
|
|||
|
|||
Data EntryUsing the following two files, I'm able to click the submit button and have the date, room and pot for each of the 21 records entered into the MySql database. I still need some help getting the temperature entered.
insertform.php: PHP Code:
insertrecord.php: PHP Code:
Last edited by LuciWiz : 11-Jan-2005 at 07:52.
Reason: Please insert your php code betweeen [php] & [/php] tags
|
|
#2
|
||||
|
||||
|
I think the problem is the query
you give the box a 'name' Temp##' where ## is the number $Loop has. The insert query doesn't seem to know the ##, it enters $Temp and not $Temp.$Loop which might make it work try this query: PHP Code:
Last edited by Allowee : 11-Jan-2005 at 10:02.
Reason: uhh.. wrong answer
|
|
#3
|
|||
|
|||
|
In insert_form.php I changed
PHP Code:
to PHP Code:
and in insert_record.php I changed PHP Code:
to PHP Code:
That seems to have fixed the problem, thanks for your help. |
Recent GIDBlog
Meeting the populace by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Include] Doubly-linked List | dsmith | C Programming Language | 6 | 14-Apr-2006 13:12 |
| Using getline to read in data | krisbot | C Programming Language | 4 | 24-Oct-2004 15:57 |
| [CONTEST?]Data Structure Test | dsmith | C Programming Language | 2 | 06-Jun-2004 15:13 |
| Automate a data change php form | mjfmn | MySQL / PHP Forum | 4 | 20-Oct-2003 09:37 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The