########### Script created by Advanced IT Services Holland [info@aitsh.com] ########### ###################### #$required = the form-fields you want required... --> this is the most safe way at the moment #$mysql_host = your MySQL-database server #$mysql_user = your MySQL username #$mysql_password = your MySQL password #$mysql_database = your MySQL database #$mysql_table = your MySQL-table #$page_title = The TITLE of this 'script' #$scriptname = the scriptname of this 'script' :-) #$old password = lespaul #$old user - evan $required = array("firstname","lastname","address","city","country","phone","email","1-desc", "username", "password"); #$required = array("firstname","lastname","email","1-desc"); $mysql_host = "localhost"; $mysql_user = "fastfood"; $mysql_password = "patRyboVich"; $mysql_database = "ccc"; $mysql_table = "order_data"; $page_title = "Comfort Foods Cookbook Order Form"; $scriptname = "order.php3"; ?>
|
} ?> if ($action == "process") {
$reset = reset($required);
while (list($key, $value) = each($required)) {
if($form[$value] == "") {
$count++;
}
}
if($count > 0) { ?>Please complete the
following |||||||||||||||||||||