|
Posted by Luigi on 11/22/07 08:18
Hello all!
I'm a newbie in PHP. I have written a short script that tries to
update a SQLite database with the user data. It is pretty simple,
something like this:
<?php
$sqlite = sqlite_open("mytest.db", 0666, $sqlite_error);
if(!$sqlite) {
die("Sqlite error: ".$sqlite_error);
}
$statement = "update myusers set mail=\"mymail\" where name=\"myuser
\"";
sqlite_query($sqlite, $statement);
sqlite_close($sqlite);
?>
It's just a test, but it doesn't work. It doesn't give me any error,
but the table is not updated. Can you suggest me a possible reason?
Thanks.
Navigation:
[Reply to this message]
|