RE: [PHP] Re: Quotes in Heredoc

2011-02-28 Thread Bob McConnell
From: Colin Guthrie >'Twas brillig, and Bob McConnell at 28/02/11 13:23 did gyre and gimble: >> XHTML also requires all tags, attribute labels and values to be in lower >> case and values must be quoted. So your original content should be >> >> > width="621"> >> >> > src="../images/spacer.g

[PHP] Re: Quotes in Heredoc

2011-02-28 Thread Colin Guthrie
'Twas brillig, and Bob McConnell at 28/02/11 13:23 did gyre and gimble: > XHTML also requires all tags, attribute labels and values to be in lower > case and values must be quoted. So your original content should be > >width="621"> > >src="../images/spacer.gif"> > Actually, in xhtml th

[PHP] RE: Quotes """ in form textarea fields

2004-10-08 Thread Jensen, Kimberlee
Yes, the magic quotes will get you, but they are meant to "protect" you. Either 1. Go into php.ini and disable them 2. Create an include file that you include in each script, in it, use ini_set() to disable magic quotes at run time http://us2.php.net/manual/en/function.ini-set.php -Origina

Re: [PHP] Re: quotes

2003-06-25 Thread chris sherwood
echo ""; this doesnt work cause the engine doesnt like that try this echo ""; "Anthony" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > tough to tell... but it looks like you have the " and ' mixed up before the > > in the end :-P > > - Anthony > > "Lso ." <[EMAIL PROTECTED]

[PHP] Re: quotes

2003-06-25 Thread Anthony
tough to tell... but it looks like you have the " and ' mixed up before the > in the end :-P - Anthony "Lso ." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > ok i see why i didnt work but i dont know why. > > can anyone tell me why this works: > > > > but this doesn't: > > ech

[PHP] Re: quotes in text strings

2002-10-02 Thread Erwin
Javier Montserat wrote: > Hi > > Single quote's in strings entered via a text input field are > subsequently appearing with what appears to be an escape character - > > comm\'ents > > how can i correct this? I've tried > htmlspecialchars($string, ENT_QUOTES); > and > htmlentities($string, ENT_QUO

[PHP] Re: quotes in text strings

2002-10-02 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hi > > Single quote's in strings entered via a text input field are subsequently > appearing with what appears to be an escape character - > > comm\'ents > > how can i correct this? I've tried > htmlspecialchars($string, ENT_QUOTES)

[PHP] Re: Quotes getting screwed up in form fields

2002-07-27 Thread Julio Nobrega
I would guess your value doesn't have double quotes around. Because what might happen is this: http://www.inerciasensorial.com.br "Monty" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > If someone enters this into a field... > >New York "City"

[PHP] Re: Quotes getting screwed up in form fields

2002-07-27 Thread lallous
if you're using Apache, try creating an .htaccess file with this line in it: php_value magic_quotes_gpc 1 "Monty" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > If someone enters this into a field... > >New York "City" > > and I need to re-display it in

[PHP] Re: Quotes getting screwed up in form fields

2002-07-26 Thread Chris Earle
http://www.php.net/manual/en/function.stripslashes.php Check that out, it might help. "Monty" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > If someone enters this into a field... > >New York "City" > > and I need to re-display it in the field (if an error