I am trying to edit a Mysql database. Can someone tell me why this is not working, it doesn't update anything
mysqli_query($con,"UPDATE Users SET day_started=1 WHERE email='$user_data['email']'");
$user_data['email'] works I checked it. I tried echoing it and it did echo the value I wanted. I also checked the database and the value I want it on of the fields in email.
Thank you for your help:)