A Database Error Occurred
Error Number: 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 status=1' at line 1
SELECT * FROM products WHERE id= AND status=1
Severity: Warning
Message: Missing argument 2 for Home::product()
Filename: controllers/home.php
Line Number: 179
Severity: Warning
Message: Missing argument 3 for Home::product()
Filename: controllers/home.php
Line Number: 179
Severity: Notice
Message: Undefined variable: sid
Filename: controllers/home.php
Line Number: 184
Severity: Notice
Message: Undefined variable: id
Filename: controllers/home.php
Line Number: 189
Severity: Notice
Message: Undefined variable: id
Filename: controllers/home.php
Line Number: 190
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /hermes/bosweb/web207/b2076/nf.thankyou1999/public_html/gifts4u.ca/system/libraries/Exceptions.php:166)
Filename: codeigniter/Common.php
Line Number: 356
Error Number: 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 status=1' at line 1
SELECT * FROM products WHERE id= AND status=1