Database error: Invalid SQL:
select
SQL_CALC_FOUND_ROWS
novost_id,
naslov_hr,
naslov_en,
uvod_hr,
uvod_en,
sadrzaj_hr,
sadrzaj_en,
date_format(datum, '%d.%m.%Y') as datum_format,
aktivna,
korisnik_id
from
novosti
where
aktivna = '1' and
naslov_hr != ''
order by
datum DESC,
novost_id DESC
limit
{item_index},
10
MySQL Error: 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 '{item_index},
10' at line 23)
Session halted.