Thanks Graeme, but I am only a real novice at this. This was te first real PHP I have tried to do. If you could let me know in a little more detail, that would be most appreciative. Merry christmas ;-) -----Original Message----- From: graeme [mailto:graeme_foster@xxxxxxxxxxxxxxxx] Sent: 23 December 2004 09:04 To: ben@xxxxxxxxxxxxxxxx Cc: php-db@xxxxxxxxxxxxx Subject: Re: New to the Mailing List Try using the if statement. Ben wrote: >Morning all. > >I attach a document, which is used to send an email with attachments. >What I need to do though, is if a form field is left blank, then that >tag is not included in the email. Any clues anybody? > >It is vital that no information is sent for blank fields because it >goes to a system that would reject and email that has tags eg '1010: ' > >Many thanks in advance > >Ben > > > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php