Re: [PHP-DB] Why the following error, yet it works anyway

2002-01-15 Thread Miles Thompson
Chip, You're not going to like this .. on the delete you aren't fetching any rows. Miles At 09:18 AM 1/14/2002 -0800, [EMAIL PROTECTED] wrote: I have the following short web page to delete dealer bulletins from a database. My page lists all the bulletins in the database - id and subject. There

RE: [PHP-DB] Why the following error, yet it works anyway

2002-01-14 Thread Rick Emery
First, if $submit is not set, then the delete statement will be executed. This will not return an array upon which mysql_fetch_array() will act. Therefore $result will not be valid. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002

RE: [PHP-DB] Why the following error, yet it works anyway

2002-01-14 Thread chip . wiegand
Rick Emery [EMAIL PROTECTED] wrote on 01/14/2002 10:35:37 AM: First, if $submit is not set, then the delete statement will be executed. This will not return an array upon which mysql_fetch_array() will act. Therefore $result will not be valid. I made this change: if