Re: fecth_array error

2002-01-23 Thread Jayasimhan A
Hi! Why dont u try this, if(mysql_num_rows($var1)>0) { mysql_free_result($var1); delete; } else { echo("record doesnot exists"); } cheers, Jayasimhan A - Original Message - From: Palafox, Alfredo <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 23, 2002 1

Re: fecth_array error

2002-01-23 Thread DL Neil
Hi Alfredo, This looks like PHP - and we're on a MySQL list. Are you aware of the PHP lists - specifically PHP-DB? Comments below: > I'm new to mysql database design, I have a PHP script to DELETE records but > before that I need to be sure that the record exists. > > My script goes like this: