ok. gesagt getan
folgenden code hab ich eingefügt:
PHP-Code:
<?php
$sql = "INSERT INTO RELEASES VALUES(null, 'A', '01.01.2004', 'PC', 'TESTAPPLICATION', 222, '-', 'comment', 'itsme')";
echo $sql;
//exit();
sqlite_query($db,$sql);
?>
Ausgabe (echo von $sql) ist:
INSERT INTO RELEASES VALUES(null, 'A', '01.01.2004', 'PC', 'TESTAPPLICATION', 222, '-', 'comment', 'itsme')
Fehler: Keine
Jetzt das ganze indem ich 'comment' mit '\'comment' austausche:
Ausgabe (echo von $sql) ist:
Fehler: 1
INSERT INTO RELEASES VALUES(null, 'A', '01.01.2004', 'PC', 'TESTAPPLICATION', 222, '-', '\'comment', 'itsme')
Warning: sqlite_query() [function.sqlite-query]: near "comment": syntax error in D:\WWW\xampp\htdocs\WEBSITE\SHARING\SHARING_added. php on line 50