Mozecie zerknac na ten kod gdzie tu moze byc blad ?
$this->db->queryInsert('INSERT INTO deigie (id, title, img_dir, text, date, kategory) VALUES (NULL, '.$title.', '.$imgDir.', '.$text.', '.$date.', '.$kategory.')');
Ja zadnego nie widze a wywala mi cos takiego :
Cytat
Array ( [kategory] => wnetrza [title] => wnetrza [text] => wnetrza wnetrza ) 2009-09-09Zapis nie powiodl sie
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 'tif, wnetrza wnetrza, 2009-09-09, wnetrza)' at line 11.tifimages/wnetrza/1.tif
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 'tif, wnetrza wnetrza, 2009-09-09, wnetrza)' at line 11.tifimages/wnetrza/1.tif
moze dlatego ze w zmiennej $imgDir jest kropka ? Bo nazwa pliku jest 1.tif....?