Codice PHP:function validate_field($text, $email) {
$email = trim($email);
$error = array();
if (valida_text($text) != '') {
$error[] = valida_text($text);
}
if (valida_email($email) != '') {
$error[] = valida_email($email);
}
return $error;
}
![]()
Codice PHP:function validate_field($text, $email) {
$email = trim($email);
$error = array();
if (valida_text($text) != '') {
$error[] = valida_text($text);
}
if (valida_email($email) != '') {
$error[] = valida_email($email);
}
return $error;
}
![]()
Without faith, nothing is possible. With it, nothing is impossible
http://ilwebdifabio.it