Re: [PHP] Re: I got the mail form blues! HTML/POST/mail() question - Also request for style suggestions

2004-12-17 Thread Monique Verrier
ynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > You need to http://php.net/urlencode anything you echo into a HIDDEN INPUT > so that the HTML tags in it don't get used by the browser display > rendering engine. > > > Monique Verrier wrot

[PHP] Re: I got the mail form blues! HTML/POST/mail() question - Also request for style suggestions

2004-12-17 Thread Monique Verrier
y'];} $hmessage .= ""; if (!is_null($row_rsList['comments'])) { $hmessage .=''.$lblcomment; $hmessage .= $row_rsList['comments']; $hmessage .=""; } $hmessage .=''; } while ($row_rsList = mysql_fetch_asso

[PHP] I got the mail form blues! HTML/POST/mail() question - Also request for style suggestions

2004-12-16 Thread Monique Verrier
Hi! I have an html string stored in $message. I "submit" the form to a subroutine and the value in $message is lost. All the other variables come into feedback.php just fine. I would love any help. This is a new language for me so any suggestions for streamlining my code would also be much app

Re: [PHP] Lost Variables

2004-11-23 Thread Monique Verrier
> if(isset($_POST)) > { foreach($_POST as $key=>$value) > { $$key= $value; print("$$key= $value; "); }} > > This should do it. The print statement is just to check the result. > Regards > > Alberto Brea > > > -Original Message- > From: "M

[PHP] Lost Variables

2004-11-23 Thread Monique Verrier
First -- thank you for reading my post. I am using the general strategy suggested by Jay (thanks, Jay) to process my form in another procedure. It's listed below. In my processStuff.php program, I use the following code: $attributes = array(); $attributes = array_merge($attributes,$HTTP_POST_VA

[PHP] Quick Question re: Input

2004-11-22 Thread Monique Verrier
Hi! This is what I want to do: When the user presses the submit button, run a function along the lines of: The addrecord function basically runs an SQL insert. This seems as though it should be uncomplicated. All the code that I look at has the page calling itself again and running code tha