Re: [PHP-DB] problem with insert query

2003-06-07 Thread Jeff Shapiro
It seems to me that this code will not provide useful information: if ($result) echo mysql_affected_rows()." affected."; If the insert was successful, it will always say "1 affected." Since you are only inserting one row at a time. On Sat, 07 Jun 2003 08:49:15 -0400, Becoming Digital wrot

Re: [PHP-DB] problem with insert query

2003-06-07 Thread Becoming Digital
Try this. I made some minor syntax changes and added some error reporting. While it may not fix things, it might help you figure out what's wrong. Edward Dudlik Becoming Digital www.becomingdigital.com - Original Message - From: "Ahmed Abdelaliem" <[EMAIL PROTECTED]> To: <[EMAIL PROTE