20.02.2011, 08:50
hello, I selected in my database a random result, I tried this query but apparently this does not work.
Is this a syntax problem?
Thank you
Vince + +
Код:
mysql_query("SELECT * FROM `infomap` WHERE `id` != '-1' ORDER BY RAND() LIMIT 1");
Thank you
Vince + +