SHARE
TWEET

Untitled

a guest Jun 8th, 2017 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. enrollment.php (view)
  2. <?php
  3. echo $step;
  4. if ($step==1)
  5. {  
  6.     echo form_open("welcome/enrollment");  
  7.     echo form_hidden('step',1);
  8.     echo "<p>personal information </p>";
  9.     echo "<p>first name ";
  10.     $enrollment_first_name = array("name" =>  "enrollment_first_name","id" =>  "enrollment_first_name","maxlength" =>  "255","size" =>  "30"); 
  11.     echo form_input($enrollment_first_name) . "</p>";
  12.    
  13.     echo "<p>last name ";
  14.     $enrollment_last_name = array("name" =>  "enrollment_last_name","id" =>  "enrollment_last_name","maxlength" =>  "255","size" =>  "30");
  15.     echo form_input($enrollment_last_name) . "</p>";
  16.    
  17.     echo "<p>chinese name ";   
  18.     $enrollment_chinese_name = array("name" =>  "enrollment_chinese_name","id" =>  "enrollment_chinese_name","maxlength" =>  "255","size" =>  "30");   
  19.     echo form_input($enrollment_chinese_name) . "</p>";
  20.    
  21.     echo "<p>citizenship ";    
  22.     $enrollment_citizenship = array("name" =>  "enrollment_citizenship","id" =>  "enrollment_citizenship","maxlength" =>  "255","size" =>  "30");  
  23.     echo form_input($enrollment_citizenship) . "</p>";
  24.    
  25.     echo "<p>passport / Fin No ";      
  26.     $enrollment_passport_fin_no = array("name" =>  "enrollment_passport_fin_no","id" =>  "enrollment_passport_fin_no","maxlength" =>  "255","size" =>  "30");  
  27.     echo form_input($enrollment_passport_fin_no) . "</p>";
  28.    
  29.     echo "<p>NRIC ";           
  30.     $enrollment_nric = array("name" =>  "enrollment_nric","id" =>  "enrollment_nric","maxlength" =>  "255","size" =>  "30");
  31.     echo form_input($enrollment_nric) . "</p>";    
  32.    
  33.     echo "<p>Singapore address </p>";
  34.     echo "<p>block ";
  35.     $sg_address_block = array("name" =>  "sg_address_block","id" =>  "sg_address_block","maxlength" =>  "255","size" =>  "30");
  36.     echo form_input($sg_address_block) . "</p>";
  37.    
  38.     echo "<p>house_no ";
  39.     $sg_address_house_no = array("name" =>  "sg_address_house_no","id" =>  "sg_address_house_no","maxlength" =>  "255","size" =>  "30");   
  40.     echo form_input($sg_address_house_no) . "</p>";
  41.  
  42.     echo "<p>street ";
  43.     $sg_address_street = array("name" =>  "sg_address_street","id" =>  "sg_address_street","maxlength" =>  "255","size" =>  "30"); 
  44.     echo form_input($sg_address_street) . "</p>";  
  45.    
  46.     echo "<p>unit ";
  47.     $sg_address_unit = array("name" =>  "sg_address_unit","id" =>  "sg_address_unit","maxlength" =>  "255","size" =>  "30");   
  48.     echo form_input($sg_address_unit) . "</p>";    
  49.    
  50.     echo "<p>post_code ";
  51.     $sg_address_post_code = array("name" =>  "sg_address_post_code","id" =>  "sg_address_post_code","maxlength" =>  "255","size" =>  "30");
  52.     echo form_input($sg_address_post_code) . "</p>";    
  53.    
  54.     echo "<p>building ";
  55.     $sg_address_building = array("name" =>  "sg_address_building","id" =>  "sg_address_building","maxlength" =>  "255","size" =>  "30");   
  56.     echo form_input($sg_address_building) . "</p>";        
  57.    
  58.     echo "<p>telp (home) ";
  59.     $sg_address_telp_home = array("name" =>  "sg_address_telp_home","id" =>  "sg_address_telp_home","maxlength" =>  "255","size" =>  "30");
  60.     echo form_input($sg_address_telp_home) . "</p>";    
  61.    
  62.     echo "<p>handphone ";
  63.     $sg_address_handphone = array("name" =>  "sg_address_handphone","id" =>  "sg_address_handphone","maxlength" =>  "255","size" =>  "30");
  64.     echo form_input($sg_address_handphone) . "</p>";
  65.    
  66.     echo "<p>email ";
  67.     $sg_address_email = array("name" =>  "sg_address_email","id" =>  "sg_address_email","maxlength" =>  "255","size" =>  "30");
  68.     echo form_input($sg_address_email) . "</p>";
  69.  
  70.     echo form_submit("submit","next");
  71.     echo form_close();
  72.  
  73. }
  74. else
  75. if ($step==2)
  76. {
  77.     echo form_open("welcome/enrollment");  
  78.     echo form_hidden('step',2);
  79.     echo "<p>Parent's info </p>";
  80.     echo "<p>father's first name ";
  81.     $parents_info_f_first_name = array("name" =>  "parents_info_f_first_name","id" =>  "parents_info_f_first_name","maxlength" =>  "255","size" =>  "30"); 
  82.     echo form_input($parents_info_f_first_name) . "</p>";  
  83.    
  84.     echo "<p>father's last name ";
  85.     $parents_info_f_last_name = array("name" =>  "parents_info_f_last_name","id" =>  "parents_info_f_last_name","maxlength" =>  "255","size" =>  "30");
  86.     echo form_input($parents_info_f_last_name) . "</p>";       
  87.    
  88.     echo "<p>father's occupation ";
  89.     $parents_info_f_occupation = array("name" =>  "parents_info_f_occupation","id" =>  "parents_info_f_occupation","maxlength" =>  "255","size" =>  "30"); 
  90.     echo form_input($parents_info_f_occupation) . "</p>";      
  91.    
  92.     echo "<p>father's email ";
  93.     $parents_info_f_email = array("name" =>  "parents_info_f_email","id" =>  "parents_info_f_email","maxlength" =>  "255","size" =>  "30");
  94.     echo form_input($parents_info_f_email) . "</p>";           
  95.    
  96.     echo "<p>father's contact no ";
  97.     $parents_info_f_contact_no = array("name" =>  "parents_info_f_contact_no","id" =>  "parents_info_f_contact_no","maxlength" =>  "255","size" =>  "30"); 
  98.     echo form_input($parents_info_f_contact_no) . "</p>";      
  99.    
  100.     echo "<p>mother's first name ";
  101.     $parents_info_m_first_name = array("name" =>  "parents_info_m_first_name","id" =>  "parents_info_m_first_name","maxlength" =>  "255","size" =>  "30"); 
  102.     echo form_input($parents_info_m_first_name) . "</p>";  
  103.    
  104.     echo "<p>mother's last name ";
  105.     $parents_info_m_last_name = array("name" =>  "parents_info_m_last_name","id" =>  "parents_info_m_last_name","maxlength" =>  "255","size" =>  "30");
  106.     echo form_input($parents_info_m_last_name) . "</p>";       
  107.    
  108.     echo "<p>mother's occupation ";
  109.     $parents_info_m_occupation = array("name" =>  "parents_info_m_occupation","id" =>  "parents_info_m_occupation","maxlength" =>  "255","size" =>  "30"); 
  110.     echo form_input($parents_info_m_occupation) . "</p>";      
  111.    
  112.     echo "<p>mother's email ";
  113.     $parents_info_m_email = array("name" =>  "parents_info_m_email","id" =>  "parents_info_m_email","maxlength" =>  "255","size" =>  "30");
  114.     echo form_input($parents_info_m_email) . "</p>";           
  115.    
  116.     echo "<p>mother's contact no ";
  117.     $parents_info_m_contact_no = array("name" =>  "parents_info_m_contact_no","id" =>  "parents_info_m_contact_no","maxlength" =>  "255","size" =>  "30"); 
  118.     echo form_input($parents_info_m_contact_no) . "</p>";      
  119.  
  120.     echo "<p>Person of Contact in case of emergency </p>";
  121.     echo "<p>First name "; 
  122.     $parents_info_emg_first_name = array("name" =>  "parents_info_emg_first_name","id" =>  "parents_info_emg_first_name","maxlength" =>  "255","size" =>  "30");   
  123.     echo form_input($parents_info_emg_first_name) . "</p>";        
  124.  
  125.     echo "<p>Last name ";  
  126.     $parents_info_emg_last_name = array("name" =>  "parents_info_emg_last_name","id" =>  "parents_info_emg_last_name","maxlength" =>  "255","size" =>  "30");  
  127.     echo form_input($parents_info_emg_last_name) . "</p>";     
  128.  
  129.     echo "<p>Relationship ";   
  130.     $parents_info_emg_relationship = array("name" =>  "parents_info_emg_relationship","id" =>  "parents_info_emg_relationship","maxlength" =>  "255","size" =>  "30"); 
  131.     echo form_input($parents_info_emg_relationship) . "</p>";          
  132.  
  133.     echo "<p>Handphone ";  
  134.     $parents_info_emg_handphone = array("name" =>  "parents_info_emg_handphone","id" =>  "parents_info_emg_handphone","maxlength" =>  "255","size" =>  "30");  
  135.     echo form_input($parents_info_emg_handphone) . "</p>";     
  136.    
  137.     echo form_submit("submit","next");
  138.     echo form_close();
  139.  
  140. }  
  141. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top