REGISTRATION FORM
 
Fields marked with * are mandatory.
Login Information:
 
"); } } catch (exception $e) { echo $e->getmessage(); } //Validate the UserName try { if (trim ($_POST['UserName']) == ""){ $fine = false; throw new exception ("Please enter User Name
"); } } catch (exception $e) { echo $e->getmessage(); } //Validate passwords field not empty try { if (trim ($_POST['UserPassword']) == ""){ $fine = false; throw new exception ("Please enter the Password
"); } } catch (exception $e) { echo $e->getmessage(); } try { if (trim ($_POST['UserPassword1']) == ""){ $fine = false; throw new exception ("Please Retype the Password
"); } } catch (exception $e) { echo $e->getmessage(); } //Validate if passwords match try{ if(!($_POST['UserPassword'] == $_POST['UserPassword1'])){ $fine = false; throw new exception ("Passwords didnt match.
"); } } catch (exception $e) { echo $e->getmessage(); } //Validate Name try { if (trim ($_POST['FullName']) == ""){ $fine = false; throw new exception ("Please enter your Name.
"); } } catch (exception $e) { echo $e->getmessage(); } //Validate Experience //Years Experience try { if ($_POST['YearsExp']== "-1"){ $fine = false; throw new exception ("Please select Experience
"); } } catch (exception $e) { echo $e->getmessage(); } //Months Experience try { if ($_POST['MonthsExp']== "-1"){ $fine = false; throw new exception ("Please select Experience
"); } } catch (exception $e) { echo $e->getmessage(); } //Validate Functional Area try { if ($_POST['AreaName']== "-1"){ $fine = false; throw new exception ("Please select Functional Area
"); } } catch (exception $e) { echo $e->getmessage(); } //Validate Qualification try { if ($_POST['QualificationName']== "-1"){ $fine = false; throw new exception ("Please select Qualification
"); } } catch (exception $e) { echo $e->getmessage(); } //Validate Specialization try { if ($_POST['SpecializationArea']== "-1"){ $fine = false; throw new exception ("Please select Specialization
"); } } catch (exception $e) { echo $e->getmessage(); } //Validate Role try { if ($_POST['RoleName']== "-1"){ $fine = false; throw new exception ("Please select Role
"); } } catch (exception $e) { echo $e->getmessage(); } //Now, if there were no errors, you can store the results. if ($fine){ mysql_query("INSERT INTO $db_table1(UserName,PhoneNo,MobileNo,YearsExp,MonthsExp,FunctionalArea,KeySkills,Qualification,Specialization,Institute,FunctionalRoles,CurrentEmployer,PreviousEmployers,ProfileTitle,ResumeFile) values ('$_POST[UserName]','$_POST[PhoneNo]','$_POST[MobileNo]','$_POST[YearsExp]','$_POST[MonthsExp]','$_POST[AreaName]','$_POST[KeySkills]','$_POST[Qualification]','$_POST[SpecializationArea]','$_POST[InstituteName]','$_POST[RoleName]','$_POST[CurrentEmployer]','$_POST[PreviousEmployers]','$_POST[ProfileTitle]','$_POST[ResumeFile]')") or die(mysql_error()); mysql_query("INSERT INTO $db_table2(UserName,UserPassword,FullName,EmailAddress) values ('$_POST[UserName]',md5('$_POST[UserPassword]'),'$_POST[FullName]','$_POST[EmailAddress]')") or die(mysql_error()) ; mysql_query( "INSERT INTO $db_table3(UserName)values('$_POST[UserName]')") or die(mysql_error()); echo "Congrats, You have been successfully registered on our portal"; } ?> Try Again
* Email Address:
 
* Desired Username:
 
* Password:
Minimum 5 characters
* Retype Password:
 
Personal Details:
 
* Full Name:
 
Phone Number:
Country code, area code, phone number
Mobile Number:
 
Professional Details:
 
* Total Experience: Years Months
 
Key Skills:
 
Functional Area: '; echo ''; // read each row field and build option list while($row = mysql_fetch_array($query)) { echo(""); } // close the select list echo ""; ?>
 
Profile Title:
 
Educational Qualification:
 
* Qualification:  
 
* Specialization:
 
Institute: '; echo ''; // read each row field and build option list while($row = mysql_fetch_array($query)) { echo(""); } // close the select list echo ""; ?>
 
Work Experience:
 
* Role: '; echo ''; // read each row field and build option list while($row = mysql_fetch_array($query)) { echo(""); } // close the select list echo ""; ?>
 
Current Employer:
 
Previous Employer:
 
Resume Title:
 
Select file: