val_form($_POST['name'],$_POST['password'],$error); Foreach ($error as $key) { print($key); } ?>