Re: Replacing data in database

2007-08-24 Thread kionae
Pass the id in a hidden field on your form. Then instead of creating a new record, it will just update the old record with new information. On Aug 23, 3:20 am, Unite [EMAIL PROTECTED] wrote: Hi. Heres the problem. I have a form which returns values and stores them in a database. When a

Replacing data in database

2007-08-23 Thread Unite
Hi. Heres the problem. I have a form which returns values and stores them in a database. When a person presses submit on the form I want the ID to stay the same but the rest of the data in the table to be replaced. What it is doing at the current moment is only replacing the data that has