Re: INSERT problem--Need help urgently
| From: | Jason Wong | Date: | Tue, 30 Mar 2004 11:40:00 +0000 |
| Subject: | Re: INSERT problem--Need help urgently | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-33696@lists.php.net to get a copy of this message | ||
On Tuesday 30 March 2004 19:46, irinchiang@justeducation.com 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 typos. This will ensure that people can focus on your
real problem and not on your erroneously introduced typos.
> I still need some help here with my code...how can I prevent it from
> inserting a duplicate row of null values>???
echo() your $sql statement just before you execute it. Are you doing any
redirections or refreshing the page?
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
------------------------------------------
/*
I've read SEVEN MILLION books!!
*/