Error performing query: 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 '&& `Status` = 1 ORDER BY `Name`' at line 1
array(3) { [0]=> array(4) { ["file"]=> string(42) "/home/hurleysh/public_html/shopcartbox.php" ["line"]=> int(9) ["function"]=> string(7) "dbquery" ["args"]=> array(1) { [0]=> &string(79) "SELECT * FROM `hurley_orders` WHERE `UserID` = && `Status` = 1 ORDER BY `Name`" } } [1]=> array(4) { ["file"]=> string(36) "/home/hurleysh/public_html/panel.php" ["line"]=> int(12) ["args"]=> array(1) { [0]=> string(42) "/home/hurleysh/public_html/shopcartbox.php" } ["function"]=> string(7) "include" } [2]=> array(4) { ["file"]=> string(34) "/home/hurleysh/public_html/faq.php" ["line"]=> int(8) ["args"]=> array(1) { [0]=> string(36) "/home/hurleysh/public_html/panel.php" } ["function"]=> string(7) "include" } }