Quick Find
Categories
Brands
Information
Array ( [0] => Array ( [file] => /home/nswlight/public_html/shop/includes/functions/database.php [line] => 45 [function] => tep_db_error [args] => Array ( [0] => select * FROM customer_testimonials WHERE status = 1 AND language_id = ORDER BY rand() LIMIT 1 [1] => 1064 [2] => 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 'ORDER BY rand() LIMIT 1' at line 1 ) ) [1] => Array ( [file] => /home/nswlight/public_html/shop/includes/boxes/customer_testimonials.php [line] => 37 [function] => tep_db_query [args] => Array ( [0] => select * FROM customer_testimonials WHERE status = 1 AND language_id = ORDER BY rand() LIMIT 1 ) ) [2] => Array ( [file] => /home/nswlight/public_html/shop/includes/column_left.php [line] => 33 [args] => Array ( [0] => /home/nswlight/public_html/shop/includes/boxes/customer_testimonials.php ) [function] => include ) [3] => Array ( [file] => /home/nswlight/public_html/shop/frequently_asked_questions.php [line] => 61 [args] => Array ( [0] => /home/nswlight/public_html/shop/includes/column_left.php ) [function] => require ) ) 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 'ORDER BY rand() LIMIT 1' at line 1

select * FROM customer_testimonials WHERE status = 1 AND language_id = ORDER BY rand() LIMIT 1

[TEP STOP]