PDA

View Full Version : Need help with my toplist script ;$



TehCow
October 8th, 2010, 17:43
I have errors. WHAT DO I DO?


$req1 = mysql_fetch_array(mysql_query('select count(id) as nb from topsite where status="ok"'));


$req1 = mysql_fetch_array(mysql_query('select max(id) as id from topsite'));
Ithink the problem will be in Select shit, what do I fill in???

Faab234
October 8th, 2010, 17:53
$req1 = mysql_fetch_array(mysql_query('SELECT count(id) AS nb FROM topsite WHERE status="ok"'));

TehCow
October 13th, 2010, 21:08
Lol Im stupid.. And I still dont understand XD