Hi, I have a simple query utilizing LIMIT: SELECT * FROM quotes ORDER BY RAND() LIMIT 1;
I've actually had this query on a page for a while now, but all of a sudden ALL my queries with LIMIT in them give this error: "You have an error in your SQL syntax near 'LIMIT -1' at line 1" I don't know where to begin to try and solve this problem. Thanks for any help. G --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 1/21/2003 --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php