My queries looks like this
$result = $db_connection->prepare("update users set date = ? where email= ?");
Here $mysqlDateString is the date variable
When i execute this, it gives error
Here what should be the variable type of date. I have tried many things but nothing works.
Fatal error: Call to a member function bind_param() on a non-object in F:\xampp\htdocs\Login.php on line 21