"; else echo ""; } function check_form(){ global $error, $print_again, $name,$address1, $address2, $pcode, $city, $state, $tel; $error['name'] = false; $error['address1'] = false; $error['address2'] = false; $error['pcode'] = false; $error['city'] = false; $error['state'] = false; $error['tel'] = false; $print_again = false; if($name == ""){ $error['name'] = true; $print_again = true; } if($address1 == ""){ $error['address1'] = true; $print_again = true; } if($address2 == ""){ $error['address2'] = true; $print_again = true; } if($pcode == ""){ $error['pcode'] = true; $print_again = true; } if($city == ""){ $error['city'] = true; $print_again = true; } if($state == ""){ $error['state'] = true; $print_again = true; } if($tel == ""){ $error['tel'] = true; $print_again = true; } if($print_again) print_form(); else include("register_form.php"); } function print_form(){ global $error, $print_again, $name,$address1, $address2, $pcode, $city, $state, $tel; ?>
Name (Mr/Ms)* :Address Line 1* : Address Line 2* :Postcode* :City* : State* :Telephone No* :
You missed some fields. Please fill in the red fields."); } else{ echo ("

Please fill-in the following fields:

"); } ?> * indecate compulsary field to be filled in
Choose Reseller Program* :
Country* :
E-mail Address:
Company Name:
Fax No:
Current Website(if any):
Where did u found about us?:
Remark: