$query = "UPDATE $abc_tbl ".
"SET nationality={$_SESSION['Nationality']},".
"gender={$_SESSION['gender']} ,".
"dob={$_SESSION['DoB']},".
"contact={$_SESSION['contact']},".
"address='{$_SESSION['address']},".
"level={$_SESSION['Level']},".
"course={$_SESSION['Course']},".
"mode_study={$_SESSION['ModeStudy']},".
"semester={$_SESSION['Semester']},".
"degree={$_SESSION['Degree']},".
"major={$_SESSION['Major']},".
"gpa={$_SESSION['GPA']},".
"inst={$_SESSION['Institution']},".
"docs=$target_file)".
"WHERE (uname=$uname)";
$result=mysql_query($query) or die ("this stuffedup");
if ($result) {
$_SESSION['success'] = "Done";
header("location: Application_Success.php"); // Redirecting to success page
}
I tried several syntaxes but still the query is not working
Please kindly I don't know why the information is not stored in my table
Thank you