Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 166
  • Last Modified:

echo data on php

hello there..
I am trying to display this data on php but its no letting me
how can I do this?
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~

Open in new window

0
XK8ER
Asked:
XK8ER
  • 2
1 Solution
 
Ara-Commented:
You have to escape the special characters (put a \ in front of them).
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
please check out the php function html_entities():
www.php.net/htmlentities
0
 
Ara-Commented:
echo "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~"

Only need to escape the "
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now