Hey,
I'm just about done on a page to list all the callers i've had from a database, and i want to limit the amount shown on a webpage. When i use the command below without the limit statement it works fine, but with the limit it says '
Script error: Syntax error in ORDER BY clause.'
sql = "SELECT datee,timee,namee,numbere FROM callerid ORDER BY datee DESC LIMIT 5;"
Any ideas why?
</pre>
I'm just about done on a page to list all the callers i've had from a database, and i want to limit the amount shown on a webpage. When i use the command below without the limit statement it works fine, but with the limit it says '
Script error: Syntax error in ORDER BY clause.'
sql = "SELECT datee,timee,namee,numbere FROM callerid ORDER BY datee DESC LIMIT 5;"
Any ideas why?
</pre>
Comment