简体   繁体   中英

Php fatal error Uncaught PDOException

I have problem like this

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TekstSrpski='Nova vakcina protiv HIV virusa prošla je početna ispitivanja ' at line 1 in
C:\\xampp\\htdocs\\unija\\aids\\admin\\izmenivest.php:77 Stack trace: #0
C:\\xampp\\htdocs\\unija\\aids\\admin\\izmenivest.php(77): PDOStatement->execute() #1 {main} thrown in
C:\\xampp\\htdocs\\unija\\aids\\admin\\izmenivest.php on line 77

On Code I can't post code here i don't know why so i upload it on http://www.gamers.rs/izmeni.txt Plese somebodey help me :)

1064 error message always says "near..." and it almost always points exactly at or immediately after the bad syntax.

Check the punctuation (or lack of it) just before TekstSrpski=...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM