wrong syntax sql query ?
#1

hello, I selected in my database a random result, I tried this query but apparently this does not work.

Код:
mysql_query("SELECT * FROM `infomap` WHERE `id` != '-1' ORDER BY RAND() LIMIT 1");
Is this a syntax problem?

Thank you

Vince + +
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)