Re: [PHP-DB] PHP or MySQL are putting extra records into my DB file

2001-12-11 Thread Miles Thompson
Lynne, 1. Where are you testing for the action of the form? 2. What triggers the insert? For more on this, have a look at the custom error tutorial put up by Julie Meloni at http://www.thickbook.com Right now it looks as if you are inserting a record every time the page loads. So you would ge

[PHP-DB] PHP or MySQL are putting extra records into my DB file

2001-12-11 Thread Lynne
Using simple test scripts, I'm connecting to a MySQL DB through PHP after inputting info into a form and hitting submit. Something is putting three records instead of one into the mySQL DB. For instance: the two variables are: $event_title and $event_desc. These are gotten from the form submittin