Re: [PHP] Re: A tricky one?

2001-12-02 Thread Justin French
Basically, you want to do is evaluate if they entered anything for each item, and if so, print an additional line to the message. ? $message = I would like to order:\n; if($pizza != ) { $message .= Pizza: $pizza \n; } if($chips != ) { $message .= Chips: $chips \n; } if($hamburger != ) {

RE: [PHP] Re: A tricky one?

2001-11-20 Thread Matthew Luchak
, $header ); ? Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Raymond Lilleodegard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 1:57 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: A tricky one? Thanks

Re: [PHP] Re: A tricky one?

2001-11-20 Thread Raymond Lilleodegard
$header ); ? Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Raymond Lilleodegard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 1:57 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: A tricky one? Thanks for answering. But this only works if the custome

Re: [PHP] Re: A tricky one?

2001-11-20 Thread Joshua Hoover
If you only want to show the ones variables that have values input by the user, you could do this with the while loop: while (list($var, $val) = each($HTTP_POST_VARS)) { if ((strlen($val) 0) ($var !=email) ($var !=SUBMIT) (isset($var)) { $message .= $val $var were

Re: [PHP] Re: A tricky one?

2001-11-20 Thread Raymond Lilleodegard
w Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Raymond Lilleodegard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 3:52 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: A tricky one? It works after modifying it a little. BUT... :) It lists all the v

RE: [PHP] Re: A tricky one?

2001-11-20 Thread John Monfort
) Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Raymond Lilleodegard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 3:52 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: A tricky one? It works after