Re: [PHP-DB] INSERT problem--Need help urgently

2004-03-30 Thread Jason Wong
On Tuesday 30 March 2004 20:13, [EMAIL PROTECTED] wrote: > okay I have echoed $sql and before I did enter anything into the form, the > form is already inserting null values into the database. Maybe that is the > reason for the duplicate row of null values. Yes, that would be the reason. > Do yo

Re: [PHP-DB] INSERT problem--Need help urgently

2004-03-30 Thread irinchiang
Hi Jason: okay I have echoed $sql and before I did enter anything into the form, the form is already inserting null values into the database. Maybe that is the reason for the duplicate row of null values. Do you know how can I prevent this from happening??Hope to hear from you soon. Regards,

Re: [PHP-DB] INSERT problem--Need help urgently

2004-03-30 Thread Jason Wong
On Tuesday 30 March 2004 19:46, [EMAIL PROTECTED] wrote: > sorie it was my typo error. actually in my code there is already {} with my > first if statement and there is also a space after VALUES... Whenever you post code, use copy and paste, or be extremely meticulous that you do not introduce ty

Re: [PHP-DB] INSERT problem--Need help urgently

2004-03-30 Thread irinchiang
sorie it was my typo error. actually in my code there is already {} with my first if statement and there is also a space after VALUES... I still need some help here with my code...how can I prevent it from inserting a duplicate row of null values>??? Anyone can help ? Thanks in advance. Regard