Re: i am lost (php warning)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



it means mysql_query() filed.

u must check it before using mysql_fetch_row()

f.e.

$query = "bla bla bla";
$result = mysql_query( $query );
if ( $result ){
 while ( $row = mysql_fetch_row( $result ) ){
 }
}
else {
 echo mysql_error( $db_connect );
 exit;
}

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux