Code: Select all
if($value == 1) {
$query = "INSERT INTO listing (
jcode,
designation,
responsibilities,
qualifications,
cname, cmail,
posted,
fk_department,
fk_location,
fk_salary)
VALUES (
'$jcode',
'$dsg',
'$rsp',
'$qlf',
'$cname',
'$cmail',
NOW(),
'$dpt',
'$loc',
'$sal')";
} else {
echo "User submitted the wrong information";
}