We are getting the following error trying to submit the form data to store in the database
mysqli_query() expects parameter 1 to be mysqli, null given in
This is the affected script
$smp = mysqli_query($conn, "update contactinfo set firstname='$firstname', middlename='$middlename', lastname='$lastname', phone1='$telephone', phone2='$telephone2', dob='$dob', gender='$gender', state='$state', lga='$lga', raddress='$address', ninverification='Verified' where email='$emailaddress'");
echo "<script>window.top.location.href = '../education/';</script>";