[thelist] PHP Form Validation

Andrew Maynes andrew at humanbehaviour.co.uk
Mon Jan 6 13:59:00 CST 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



More information about the thelist mailing list