Any of:

  $variable = "Please click <a href=\"page.html\">here</a> to proceed.";

or

  $variable = "Please click <a href='page.html'>here</a> to proceed.";

or

  $variable = 'Please click <a href="page.html">here</a> to proceed.';

should work.

> -----Original Message-----
> From: Wade Preston Shearer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 20, 2003 16:09
> To: BYU UUG Post
> Subject: [uug] how to put quote in a variable in PHP
> 
> 
> how do you put a quote inside a variable in PHP?
> 
<snip> 
>
> What if you want to use...
> 
>       "Please click <a href="page.html">here</a>to proceed."
> 
> 
> ...as the value for a variable?

____________________
BYU Unix Users Group
http://uug.byu.edu/
___________________________________________________________________
List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to