why are you using "sql_query" through your code? its mysql_query for mysql! and the result, needed for mysql_fetch_row is returned from that function. read the docs again.
Thomas On Sun, 8 Jun 2003 16:37:59 -0300 [EMAIL PROTECTED] (Marcelo Luiz De Laia) wrote: > $result = "SELECT categoria, nombre, datafim FROM ".$prefix."_anuncios ORDER > BY datafim LIMIT 0,30"; > sql_query($result, $dbi); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php