Note Submitter: yet another user
----
unsafed: well it worked great for me adding records
to my "storyDB":
$stTitle = addslashes($wholestory[$storyid][titel]);
$stInhalt = addslashes($wholestory[$storyid][inhalt]);
$aktueller_eintrag = "INSERT INTO $dbTable (titel,
inhalt) VALUES ('$stTitle', '$stInhalt');";
$eintragInDB = mysql_query($aktueller_eintrag);
withot function addslashes i had problems with chars like
the single quotes, and the query didn't work.
but with this function everything worked fine...
greetz
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|