Re: [PHP] Variables with - in their name

2012-11-18 Thread tamouse mailing lists
On Sun, Nov 18, 2012 at 5:12 AM, Ashley Sheridan wrote: > On Sun, 2012-11-18 at 01:37 -0700, Nathan Nobbe wrote: > >> On Sat, Nov 17, 2012 at 11:09 PM, Ron Piggott < >> ron.pigg...@actsministries.org> wrote: >> >> > I have made the following variable in a form: (I am referring the >> > ) >> > >>

Re: [PHP] Variables with - in their name

2012-11-18 Thread Ashley Sheridan
On Sun, 2012-11-18 at 01:37 -0700, Nathan Nobbe wrote: > On Sat, Nov 17, 2012 at 11:09 PM, Ron Piggott < > ron.pigg...@actsministries.org> wrote: > > > I have made the following variable in a form: (I am referring the > > ) > > > > > > > $row['promo_code_prefix'] = 42; > > $row['promo_code_su

Re: [PHP] Variables with - in their name

2012-11-18 Thread Nathan Nobbe
On Sat, Nov 17, 2012 at 11:09 PM, Ron Piggott < ron.pigg...@actsministries.org> wrote: > I have made the following variable in a form: (I am referring the > ) > > > $row['promo_code_prefix'] = 42; > $row['promo_code_suffix'] = 2; > > echo " $row['promo_code_suffix'] . "\" style=\"text-align: c

[PHP] Variables with - in their name

2012-11-17 Thread Ron Piggott
I have made the following variable in a form: (I am referring the ) \r\n"; ?> It could be wrote: Only PHP is treating the hyphen as a minus sign --- which in turn is causing a syntax error. How do I retrieve the value of this variable and over come the “minus” sign that is really a hyph

AW: [PHP] variables with ""

2003-03-17 Thread Frederic . Hahn
Either you use simple quotes for the code ---> ' or you escape the " by using > \" > $mail->Body = "Heading hth -- {Bis bald ° Frederic} -This is a block of text that can be added to your posts. 72 characters. -- PHP General Mailing List (http://www.php.

[PHP] variables with ""

2003-03-17 Thread Ian A. Gray
Hi, just a quick question. How do I include double quotes in a variable? I am trying to put html code in a variable in a mailing program: $mail->Body = "Heading Please e-mail me at mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]" I know that you d

[PHP] Re: Using PHP Variables with a Header

2001-07-12 Thread elias
Hey, A simple example with one field: *Name: "> //Elias "Michael Conley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a form that requires a user to enter various information (name, > address, phone number, etc...). When they submit thi

Re: [PHP] Using PHP Variables with a Header

2001-07-09 Thread Nick O'Reilly
i have attached the below script to stop the html being parsed is there another way around this? At 11:01 10/07/01 +1000, Nick O'Reilly wrote: >the way i would do this is to have the form validation on the same page as >the form >and when user input has been validated the require another scrip

Re: [PHP] Using PHP Variables with a Header

2001-07-09 Thread Nick O'Reilly
the way i would do this is to have the form validation on the same page as the form and when user input has been validated the require another script (keeps global variables) you could try something like this user_input must = ok "; } ?> hope this helps nicko At 05:10 9/

[PHP] Using PHP Variables with a Header

2001-07-09 Thread Michael Conley
I have a form that requires a user to enter various information (name, address, phone number, etc...). When they submit this form, the next PHP page checks to make sure that the required fields were filled in. What I would like to do is check to see if the required fields are all filled in and i