Commit 6eede0c5 by sopham

fix a bit

parent ba9069c9
Showing with 1 additions and 1 deletions
......@@ -8,7 +8,7 @@ include_once "dbconnection.php";
$query = "INSERT INTO toDoList (task, userID) VALUES (?,?) ";
//prepare empty values as placeholders
$query = $link->prepare($query1);
$query = $link->prepare($query);
//bind variables to the prepared query
$query -> bind_param('si', $_POST['task'], $_SESSION['id']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment