wantabe2
asked on
PHP Errors
In the code below, how can edit it so if the wr5 field is empty, it will not give ANY errors when the submit button is clicked?
if (empty($_POST['wr5'])) {
$errors[] = 'Do not forget to enter who is responsible for sent date change.';
} else {
$wr5 = $_POST['wr5'];
}
if (empty($errors)) {
ASKER
If I do that I get the undefined variable error in php
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window