View Single Post

  #8 (permalink)  
Old 12-03-2007
Jerry Stuckle
 
Posts: n/a
Default Re: single quote in string constant

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
==================

Reply With Quote