FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » forcing double quotes
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: forcing double quotes [message #178258 is a reply to message #178256] Fri, 25 May 2012 07:54 Go to previous messageGo to previous message
Shake is currently offline  Shake
Messages: 40
Registered: May 2012
Karma:
Member
El 25/05/2012 7:30, richard escribió:
>
> echo "<a href='#'>"
>
> how do you make it so that the output will show "#"?
> &quot; in place of the ' does not work.


echo '<a href="#">';

Or

echo "<a href=\"#\">";

Greetings
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: multiple image upload and thumbnail display
Next Topic: Overriding PHP INI Setting session.use_trans_sid=0
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 22:12:53 GMT 2024

Total time taken to generate the page: 0.04212 seconds