If Statement

admin

Administrator
Staff member
if (isset($newpass)) { echo ("nothing in the box"); } else {
$db = mysql_select_db("pinehead",$con) or die("error");
$check = md5($newpass);
$sql = "UPDATE users set check = '$check' WHERE uname='$uname';
$result = mysql_query($sql,$con) or die("error");
}


I get a parse error, with that, anbody know a better way or how to fix it?
Thanks
Anthony
 
Back
Top