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 *
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:
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