My queries looks like this
<?php
$result = $db_connection->prepare("update users set date = ? where email= ?");
$result->bind_param("ss", $mysqlDateString,$email));
$result->execute();
?>
Here $mysqlDateString is the date variableWhen i execute this, it gives error
Quote
Fatal error: Call to a member function bind_param() on a non-object in F:\xampp\htdocs\Login.php on line 21


Sign In
Create Account

Back to top









