Reply to Re: VALIDATING MANDATORY FIELDS USING PHP NOT JAVA SCRIPT!?!
Posted by Ehsan on 05/04/06 09:26
One more thing I forgot to add. For $fieldsToValidate to be accessible
from validateFields() you can either define the array in a central
configuration file (if you have any) as global variable or pass it in
the function validateFields($fieldsToValidate).