Hi
How do I validate multiple forms in an array?
I know the first step is to store forms in an array.
PHP Code:
$array = array($_POST[name], $_POST[age], $_POST[date],$_POST[number]);
Next step is to loop
This is where Im lost
How do i cycle through the array checking for an empty value, then take whatever form the empty value is and display it?
Hi
How do I validate multiple forms in an array?
I know the first step is to store forms in an array.
PHP Code:
$array = array($_POST[name], $_POST[age], $_POST[date],$_POST[number]);
Next step is to loop
This is where Im lost
How do i cycle through the array checking for an empty value, then take whatever form the empty value is and display it?
|
|
Search Webmaster Help and Solution
How to validate forms in an array?Related ItemsQuery failed: connection to localhost:3354 failed (errno=111, msg=Connection refused). |
