How can I get php to print a long string and ignore
any of the characters in the string?
ie:
$string = "so
print $string;
isn't there some kind of command to use that keeps
the string exactly as it is?
Clayton DukesCCNA, CCDA, CCDP,
CCNPInternetwork Solutions EngineerInternetwork Ma
Clayton,
Have a look at http://www.php.net/manual/en/function.addslashes.php
I've not used them, there are also references to stripslashes, you may need
to experiment a bit.
Miles
At 07:56 PM 2/25/01 -0500, Clayton Dukes wrote:
>How can I get php to print a long string and ignore any of the c
ayton 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
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 print $string;
Hmm, perhaps he looks for a way
4 matches
Mail list logo