Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

MySQL


calle

Recommended Posts

I have a problem in admin and i think it has to do with MySQL. For example when i try to look at "products reviews" I get this message:

 

 

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 '-20, 20' at line 1

 

select reviews_id, products_id, date_added, last_modified, reviews_rating from reviews order by date_added DESC limit -20, 20

 

 

What should I do? Re-install MySQL?

Link to comment
Share on other sites

I have a problem in admin and i think it has to do with MySQL. For example when i try to look at "products reviews" I get this message:

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 '-20, 20' at line 1

 

select reviews_id, products_id, date_added, last_modified, reviews_rating from reviews order by date_added DESC limit -20, 20

What should I do? Re-install MySQL?

 

Try limit 0, 20

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...