woocSlave
New Member
I have problem!
Look that,when i write NEW news -
Line 266 -
Help please.
##
When i edit old news,this problem does not have this bug
Look that,when i write NEW news -
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 Something is wrong in your syntax obok ' 'Woocslave', 1, 0, 'TEST TO OTLAND', 'TEST TO OTLAND')' w linii 1' in /home/ots/www/latestnews.php:266 Stack trace: #0 /home/ots/www/latestnews.php(266): PDO->query('INSERT INTO `z_...') #1 /home/ots/www/index.php(70): include('/home/ots/www/l...') #2 {main} thrown in /home/ots/www/latestnews.php on line 266
Line 266 -
$SQL->query('INSERT INTO '.$SQL->tableName('z_news_big').' (hide_news, date, author, author_id, image_id, topic, text) VALUES (0, '.$time.', '.$SQL->quote($news_name).', '.$account_logged->getId().', '.$news_icon.', '.$SQL->quote($news_topic).', '.$SQL->quote($news_text).')');
//show added data
Help please.
##
When i edit old news,this problem does not have this bug
Last edited: