Warning: Undefined array key "usersid" in /home/mohsalah/public_html/flutter.ecommerce/functions.php on line 11
Deprecated: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /home/mohsalah/public_html/flutter.ecommerce/functions.php on line 11
Warning: Undefined array key "itemsid" in /home/mohsalah/public_html/flutter.ecommerce/functions.php on line 11
Deprecated: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /home/mohsalah/public_html/flutter.ecommerce/functions.php on line 11
Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 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 'AND favorite_itemsid =' at line 1 in /home/mohsalah/public_html/flutter.ecommerce/functions.php:144
Stack trace:
#0 /home/mohsalah/public_html/flutter.ecommerce/functions.php(144): PDOStatement->execute()
#1 /home/mohsalah/public_html/flutter.ecommerce/favorite/remove.php(7): deleteData('favorite', 'favorite_usersi...')
#2 {main}
thrown in /home/mohsalah/public_html/flutter.ecommerce/functions.php on line 144