SELECT *
FROM `models_images`
WHERE `id_model` =
ORDER BY `order`
array(2) {
[0]=>
array(4) {
["file"]=>
string(44) "/home/euromoto/public_html/nissan/_model.php"
["line"]=>
int(19)
["function"]=>
string(5) "query"
["args"]=>
array(1) {
[0]=>
&string(98) "SELECT *
FROM `models_images`
WHERE `id_model` =
ORDER BY `order`
"
}
}
[1]=>
array(4) {
["file"]=>
string(55) "/home/euromoto/public_html/nissan/__request_manager.php"
["line"]=>
int(122)
["args"]=>
array(1) {
[0]=>
string(44) "/home/euromoto/public_html/nissan/_model.php"
}
["function"]=>
string(12) "require_once"
}
}
Fatal error: SELECT *
FROM `models_images`
WHERE `id_model` =
ORDER BY `order`
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 `order`' at line 4
MySQL Error in www.euromotor.ro/nissan/model/nissan-x-trail/2-0l-dci-dpf-150cp--all-mode-4x4--automata
Query :
SELECT *
FROM `models_images`
WHERE `id_model` =
ORDER BY `order`
Error :
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 `order`' at line 4From: errors@www.euromotor.ro
in /home/euromoto/public_html/nissan/fw2.0/data/functions.php on line 85