Reply to Re: single quote in string constant

Your name:

Reply:


Posted by Jerry Stuckle on 12/03/07 00:16

MangroveRoot wrote:
> MangroveRoot wrote:
>> At the very top of my .php file, I define a variable as follows:
>> ======
>> $title = "Doesn't Matter";
>> ------
> > (. . .)
>> Is there some way I can "escape" or "quote" the singlequote in the
>> variable
>> so that it will just be taken as a value (I guess)
>> rather than as something to be concatenated with what's around it
>> and thus interacting with the quotes around it?
> > (. . .)
>
> BTW, which of these groups --
> alt.comp.lang.php, alt.php, comp.lang.php --
> is the correct one for questions of this sort?
>

None of them. This is an HTML problem.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация