RegionalCollege

Registration

PHP Registration Form Example

Enter your Name
Enter your Email
Enter your Password
Enter your Address
Enter your Mobile Number
Select your Gender Male
Female
Choose your Hobbies Cricket
Singing
Dancing
Select your Profile Pic
Select your Date of Birth




extract($_POST);
if(isset($save))
{
$dob=$yy.”-“.$mm.”–“.$dd;
$h=implode(“,”,$hobb);
$img=$_FILES[‘pic’][‘name’];
if($return)
{
$msg=”“.ucfirst($e).” already exists choose another email “;
}
else
{
$msg= “ your data saved “;
}
}
?>