Re: fecth_array error

2002-01-23 Thread Jayasimhan A
dnesday, January 23, 2002 11:35 PM Subject: fecth_array error > Hi, > > 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: > > line 6 $var1 = " select *

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:

Fecth_array error

2002-01-23 Thread Palafox, Alfredo
Hi, 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: line 6 $var1 = " select * from table.field where id_record = '$record' "; line 7 if( $var2 = mysql_fetch_array($var1) ) line 8 { lin