Well, i have a problem in prepared statement with 'bind_param'
My queries looks like this
Here $mysqlDateString is the date variable
$result = $db_connection->prepare("update users set date = ? where email= ?");
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