Failed to execute query! [SELECT P.*, N.naziv as naselje, O.naziv as opstina, D.delatnost_naziv as delatnost, V.naziv as velicina, F.naziv as pravna_forma_full, F.skracenica as pravna_forma, as st_id, TK.preduzece_id as tk_id FROM p_preduzece as P LEFT JOIN p_naselje as N ON (P.naselje_id = LEFT JOIN p_opstina as O ON (P.opstina_id = LEFT JOIN p_sve_delatnosti as D ON (P.delatnost_id = D.delatnost_id) LEFT JOIN p_velicina_preduzeca as V ON (P.velicina_id = LEFT JOIN p_pravna_forma as F ON (P.pravna_forma_id = LEFT JOIN st_preduzece as ST ON ( = LEFT JOIN tk_preduzece as TK ON ( = TK.preduzece_id) WHERE = R-101210-3391p GROUP BY LIMIT 1]Errormessage: Unknown column 'R' in 'where clause'
(no error provided from database engine)
Fatal error: Call to a member function fetch_object() on a non-object in /mreza/www/agencija/htdocs/includes/db/db_mysqli_lib.php on line 128