Re: [PHP-DB] New to the Mailing List

2004-12-23 Thread graeme
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


RE: [PHP-DB] New to the Mailing List

2004-12-23 Thread Ben
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:[EMAIL PROTECTED] 
Sent: 23 December 2004 09:04
To: [EMAIL PROTECTED]
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] 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