Jump to content
Sign in to follow this  

SQL Error - Wishlist 2.4

Recommended Posts

Can anybody help me with this sql error?

I did the fix....

$wishlist_query_raw = "select * from " . TABLE_WISHLIST . " where customers_id = '" . $customer_id . "' order by products_name";

but i still get the following error....


1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-12, 12' at line 1


select * from customers_wishlist where customers_id = '2' order by products_name limit -12, 12



Any Ideas??




Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this