I'm trying to validate a form, and I want more than one statement in my eregi... here is what I have so far...
$pattern = "[a-z]";
if (Eregi ($pattern, $customerFirstName)){
echo "Thanks";
} else {
echo "Theres stuff missing";
}
So, I want to be able to add more variables to that, such as $customerLastName and so on... can anyone tell me how this is done?
Thanks,
Dillenger