[PHP-DB] New to the Mailing List

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



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

2004-12-23 Thread Jason Wong
On Thursday 23 December 2004 16:50, Ben wrote:

> 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?

Check whether field is blank, if so don't include it? Or is this a trick 
question?

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
--
/*
I'm going to Vietnam at the request of the White House.  President Johnson
says a war isn't really a war without my jokes.
  -- Bob Hope
*/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php