Yes, you could use stripslashes($string) on it's output, in this way it will
be no different as it was inputted.



Sincerely,

 Maxim Maletsky
 Founder, Chief Developer

 PHPBeginner.com (Where PHP Begins)
 [EMAIL PROTECTED]
 www.phpbeginner.com






 -----Original Message-----
From: Clayton Dukes [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 9:57 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Printing long strings


  How can I get php to print a long string and ignore any of the characters
in the string?

  ie:
  $string = "so<me'strin^g";
  print $string;

  isn't there some kind of command to use that keeps the string exactly as
it is?



  Clayton Dukes
  CCNA, CCDA, CCDP, CCNP
  Internetwork Solutions Engineer
  Internetwork Management Engineer
  Thrupoint, Inc.
  Tampa, FL
  (c) 904.477.7825
  (h) 904.292.1881

Reply via email to