"; $status= "NOTOK";} // you can add email validation here if required. // The code for email validation is available at www.plus2net.com if($status<>"OK"){ // if validation failed echo "$msg
"; }else{ // if all validations are passed. if(mysql_query("update plus_signup set email='$email',name='$name',sex='$sex' where userid='$_SESSION[userid]'")){ echo "You have successfully updated your profile
"; }else{echo "There is some problem in updating your profile. Please contact site admin
";} }} require "bottom.php"; ?>