Array
(
[0] => Array
(
[file] => /usr/local/www/vhosts/ronews.net/htdocs/lib/db.php
[line] => 41
[function] => execsql
[args] => Array
(
[0] => SELECT *
FROM stiri_stiri
WHERE stire_sect_id=
AND stire_sursa_id=6
AND stire_data LIKE '2010-09-10%'
ORDER BY stire_sursa_id
)
)
[1] => Array
(
[file] => /usr/local/www/vhosts/ronews.net/htdocs/lib/db.php
[line] => 48
[function] => execute
[class] => query
[type] => ->
[args] => Array
(
)
)
[2] => Array
(
[file] => /usr/local/www/vhosts/ronews.net/htdocs/classes/_index/idx_default.php
[line] => 169
[function] => fetch
[class] => query
[type] => ->
[args] => Array
(
)
)
[3] => Array
(
[function] => sectiune
[class] => webdefault
[type] => ->
[args] => Array
(
[0] =>
[1] => 6
[2] =>
)
)
[4] => Array
(
[file] => /usr/local/www/vhosts/ronews.net/htdocs/index.php
[line] => 184
[function] => call_user_func_array
[args] => Array
(
[0] => Array
(
[0] => webdefault Object
(
[title_prefix] => •→ RoNews - Revista presei:
[description_prefix] => RoNews - Revista presei:
)
[1] => sectiune
)
[1] => Array
(
[sect_id] =>
[sursa_id] => 6
[data] =>
)
)
)
)
You have an error in your SQL syntax near 'AND stire_sursa_id=6
AND stire_data LIKE '2010-09-10%'
ORDER BY s' at line 4
SELECT *
FROM stiri_stiri
WHERE stire_sect_id=
AND stire_sursa_id=6
AND stire_data LIKE '2010-09-10%'
ORDER BY stire_sursa_id