[thelist] PHP Form Validation

Andrew Maynes thelist at lists.evolt.org
Mon Jan 6 13:59:00 2003


<snip>
then you can call it like this

if(!validateEmail($sendermail)){
    $error_messageSender = 'the sender needs a valid e-mail address'

} // this produces an error

if(!validateEmail($freindEmail)){
    $error_messageFreind = 'the freind needs a valid e-mail address'
}
</snip>

Any ideas why the } produces an error?

Andrew