Okay, Ive been working on this for a bit and it bugging me.
Code: Select all
$file = mysql_query ("INSERT INTO contacts (nick, fname, lname, email, phnum, cellnum, uid) VALUES ('$nick', '$fname', '$lname', '$email', '$phnum', '$cellnum', '$uid')", $con);
mysql_close($con);
if ($file = 1){
}
else { echo "Contact not saved";
}
header("location: home.php");Thanks in advance for any tips and or suggestions.
Bryan