> $req = MYSQL_QUERY("SELECT id FROM $TBL_NEWS ORDER BY nom LIMIT 0, > $limit_news"); > $res = MYSQL_NUM_ROWS($req); > > This is my lines... It's not working... :-(
Use mysql_error() to find out why. Odds are one of your variables aren't set when you think they are. $req = mysql_query(" ... ") or die(mysql_error()); ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php