I had this php code that take values from an html form (name, file, photo, address,.....), and try to insert or update them in sql database.
Try to initialise the variable. I have added the entire code. You don't need to get $_POST['file'].
\n"; echo $remarcs."\n"; echo $test_res."\n"; echo $address."\n"; echo $phone."\n"; } echo "Uploaded"; } else { echo "Not uploaded"; } } mysqli_close($con); ?>
\n