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. Explanation: $message .= "blah"; appends "blah" onto the end of the string $message \n is a new line (I dunno, you might be a newbie!!) If they entered 2 hamburgers

Re: [PHP] Re: A tricky one?

2001-11-20 Thread Christian Dechery
, >"$message", >"$header" >); >?> >________________ >Matthew Luchak >Webmaster >Kaydara Inc. >[EMAIL PROTECTED] > > >-Original Message- >From: Raymond Lilleodegard [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, Nove

RE: [PHP] Re: A tricky one?

2001-11-20 Thread John Monfort
2001, Matthew Luchak wrote: > > try &&($val!="") instead of &&(isset($var) > > Matthew Luchak > Webmaster > Kaydara Inc. > [EMAIL PROTECTED] > > > -Original Message- > From: Raymond Lilleodegard [mailto:[EMA

Re: [PHP] Re: A tricky one?

2001-11-20 Thread Raymond Lilleodegard
al!="") instead of &&(isset($var) 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

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

RE: [PHP] Re: A tricky one?

2001-11-20 Thread Matthew Luchak
MAIL PROTECTED]">news:[EMAIL PROTECTED]... how about... 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]

Re: [PHP] Re: A tricky one?

2001-11-20 Thread Raymond Lilleodegard
MAIL PROTECTED]... how about... 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 Matthew Luchak
how about... 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

[PHP] Re: A tricky one?

2001-11-20 Thread Raymond Lilleodegard
Thanks for answering. But this only works if the customer orders one of each. Do you know how to do it if, lets say the customer order 2 hamburgers and nothing else? Raymond "Raymond LilleøDegåRd" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi! > > I'm