SQL Syntax Error
Not sure if this question belongs here or elsewhere. I get a SQL syntax error which I have traced to this code:
<?php
$category = new WA_MySQLi_RS("category",$data_i,0);
$category->setQuery("SELECT category.* FROM category");
$category->execute();
?>
This query is run on all my pages https://thermalprintersonline.com.au
If I comment out the $category->execute(); line then the page displays correctly. Any ideas?
Note: I have set $this->Debug = true; in rsobj.php and queryobj.php files and this is what it returns: SELECT category.* FROM category