this is my first post, i hope I can _GET and _POST what can be considered good contribution in this forum..
I am designing a registration form, this form has some drop down about 2 of them depending on each other. I am using PHP / MySQL
the drop down items are saved in MySQL and the form entries should be inserted in a main table. how I can accomplish that, I tried to adopt some of the code but seem i should create my own from scratch whis is impossible in my level of experience:(
the form is as following:
<form action="the_action.php" method="post"> Full Name<br/> <input type="text" id="Full Name" name="Full Name" value="Full name" size="30" maxlength="1024"/><br/><br/> Date of birth<br/> Day:<input type="text" id="dob" name="dob" value="DD" size="2" maxlength="2"/> Month:<input type="text" id="mob" name="mob" value="MM" size="2" maxlength="2"/> Year:<input type="text" id="yob" name="yob" value="YYYY" size="4" maxlength="4"/> <br/><br/> Sex<br/><select id="Sex" name="Sex" size="1"> <option value="Male">Male</option> <option value="Female">Female</option> </select><br/><br/> Highest Degree<br/> <select id="Highest Degree" name="Highest Degree" size="1"> <option value="Certification">Certification</option> <option value="Higher Diploma">Higher Diploma</option> <option value="BSc">BSc</option> <option value="Masters">Masters</option> <option value="PhD ">PhD </option> </select><br/><br/> Scientific Discipline<br/><br/> <select id="Scientific Discipline" name="Scientific Discipline" size="1"> <option value="Applied Mathematics">Applied Mathematics</option> <option value="Economics">Economics</option> <option value="Engineering">Engineering</option> <option value="Humanity">Humanity</option> <option value="Natural">Natural</option> <option value="Medical">Medical</option> </select><br/><br/> Precise Speciality<br/> <select id="Precise Speciality" name="Precise Speciality" size="1"> <option value="One">One</option> <option value="Two">Two</option> <option value="Three">Three</option> </select><br/><br/> Current Job<br/> <select id="Current Job" name="Current Job" size="1"> <option value="Academic">Academic</option> <option value="Professional">Professional</option> </select><br/><br/> Years of job experience<br/> <select id="Years of job experience" name="Years of job experience" size="1"> <option value="0">0</option> <option value="1-2">1-2</option> <option value="3-5">3-5</option> <option value="5-10">5-10</option> <option value="More than 10">More than10</option> </select><br/><br/> Current place of work<br/> <select id="Current place of work" name="Current place of work" size="1"> <option value="Libya">Libya</option> <option value="Abroad">Abroad</option> </select><br/><br/> Email contact<br/> <input type="text" id="Email contact" name="Email contact" value="email address" size="30" maxlength="1024"/><br/><br/> Skype contact<br/> <input type="text" id="Skype contact" name="Skype contact" value="" size="30" maxlength="1024"/><br/><br/> Telephone contact<br/> <input type="text" id="Telephone contact" name="Telephone contact" value="" size="30" maxlength="1024"/><br/><br/> Facebook URL<br/> <input type="text" id="Facebook URL" name="Facebook URL" value="" size="30" maxlength="1024"/><br/><br/> Like to contribute to GLASP?<br/> <select id="Like to contribute to GLASP?" name="Like to contribute to GLASP?" size="1"> <option value="Yes">Yes</option> <option value="No">No</option> </select><br/><br/> <input type="submit" id="Register for GLASP" name="Register for GLASP" value="Register!"/><br/><br/> <input id="form_id" type="hidden" name="form_id" value="189757"/><br/> </form>

New Topic/Question
Reply




MultiQuote






|