Warning: Undefined variable $user in /home/gbhat/mario/public_html/wishlist.php on line 10

Fatal error: Uncaught mysqli_sql_exception: 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 ') and cStatus = 'A'' at line 1 in /home/gbhat/mario/public_html/config/api.php:18 Stack trace: #0 /home/gbhat/mario/public_html/config/api.php(18): mysqli_query() #1 /home/gbhat/mario/public_html/config/api.php(518): fireQuery() #2 /home/gbhat/mario/public_html/wishlist.php(10): getUserWishlist() #3 {main} thrown in /home/gbhat/mario/public_html/config/api.php on line 18