Andrew Maynes wrote: > if(!validateEmail($sendermail)){ > $error_messageSender = 'the sender needs a valid e-mail address' > > } // this produces an error semicolon ;