I want to all users to be able to update their about page. Here is the string I am using in my php to query the MySQL update. I am getting an error. What am I doing wrong?
$insert_query= "UPDATE user_info SET bio= $bio_ans, residence= $residence_ans, work= $work_ans WHERE user_id= $user_id"; mysqli_query($connect, $insert_query) or die('error with query1');