This is a fix for the sql error. if it cant be determined it will skip over the looped query and go onto the next.

This is is not a full package. Replace stats_low_stock.php in your admin directory.



Getting a syntax error when the quantity available is equal or less than 0:

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

select parent_id from categories where categories_id =

[TEP STOP]


More...