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 #178268 is a reply to message #178262] Fri, 25 May 2012 19:57 Go to previous messageGo to previous message
Olaf S. is currently offline  Olaf S.
Messages: 10
Registered: December 2011
Karma:
Junior Member
Am 25.05.2012 15:22, schrieb Thomas 'PointedEars' Lahn:
> [Cancel& Supersedes: Sorry, copy-and-paste error resulting in invalid code]
>
> Olaf S. wrote:
>
>> Am 25.05.2012 07:30, schrieb richard:
>>> 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="#">#</a>';
>
> PHP is the *P*HP *H*ypertext *P*reprocessor. Use it:
YES SIR!

>
> <?php
> …
> ?><a href="#">#</a><?php
> …
> ?>
>
He asked with ECHO. And that is PHP.

Olaf
[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: Fri Jul 05 18:02:50 GMT 2024

Total time taken to generate the page: 0.05732 seconds