Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Merry X mas, How may I insert html into $lang = array_merge (PHP)

array

  • Please log in to reply
12 replies to this topic

#13 calm

calm

    CC Newcomer

  • Just Joined
  • PipPip
  • 16 posts

Posted 08 January 2011 - 08:55 AM

if you have to echo this as an HTML you have to escape the single quotes like this

echo '<a href=\'https://123648.com/applet?CTd5422ZwM=\'>Mango</a>';

refer to this for information about string literals :)

PHP: Strings - Manual

HAPPY NEW YEAR! :)


I am so sorry for missing your message, thank you very much.
  • 0





Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download