[PHP] Re: Variables with - in their name

2012-11-19 Thread Maciek Sokolewicz
On 19-11-2012 10:49, Alessandro Pellizzari wrote: Il Sun, 18 Nov 2012 01:09:11 -0500, Ron Piggott ha scritto: echo "\r\n"; It could be wrote: You MUST disable register_globals in your php.ini Once you have done that (and even before that...) you find your variable in $_POST['distributor-

[PHP] Re: Variables with - in their name

2012-11-19 Thread Alessandro Pellizzari
Il Sun, 18 Nov 2012 01:09:11 -0500, Ron Piggott ha scritto: > echo " $row['promo_code_suffix'] . "\" style=\"text-align: center;\">\r\n"; > It could be wrote: > > echo $distributor-42-2; You MUST disable register_globals in your php.ini Once you have done that (and even before that...) you f

RE: [PHP] re: variables with ""

2003-03-17 Thread Ford, Mike [LSS]
> -Original Message- > From: Ian A. Gray [mailto:[EMAIL PROTECTED] > Sent: 17 March 2003 15:11 > > > Using the \ or using single quotes instead of double > is great. However I am now finding a problem if > someone inputs either single or double quotes on a > form which uses php. > > The

Re: [PHP] re: variables with ""

2003-03-17 Thread Charles Kline
php has a function stripslashes() you could try using. - charles On Monday, March 17, 2003, at 10:11 AM, Ian A. Gray wrote: Using the \ or using single quotes instead of double is great. However I am now finding a problem if someone inputs either single or double quotes on a form which uses php

[PHP] re: variables with ""

2003-03-17 Thread Ian A. Gray
Using the \ or using single quotes instead of double is great. However I am now finding a problem if someone inputs either single or double quotes on a form which uses php. The user inputs for example: I\ve performed many roles including "Figaro", "Dandini" and 'Wotan' becomes: I\'ve performed

[PHP] Re: variables with ""

2003-03-17 Thread Arnold Schommer
a) $mail->Body = " 20pt;\">Heading"; b) $mail->Body = 'Heading'; The second method is better reabadle but also disable variable substitution and most escape sequences (\n and the like). hth "Ian a. gray" wrote: > > Hi, > just a quick question. How do I include double quotes > in a variable? I