Hi loktar,
I think it's probably the old predefined variables problem. :queasy: That is, refer to variables sent to the script.php page as $GET['id'], $GET['name'], etc ... NOT just $id, $name, etc.
Hope that helps.
By the way, do yourself a large favour 😉 and test the values sent from outside the page before you insert/update/delete entries in your database. It's a good idea to get this test going BEFORE any other code. Don't assume that variables sent have good values.
Not only does this make your code more secure, it'll also help to find annoying bugs.
For example, had you put ...
if(!isset($id) || $id == ''){ // or something similar
die("id is empty or zero-length!");
}
... before the line ...
$sqlquery = "INSERT INTO $table VALUES('$id','$name','$telephone','$birthday')";
... then you would have found out that $id was empty, or whatever.
Of course, more than one test is needed!!
Paul 🙂