RE: [PHP] Very Wierd Problem
| From: | James E Hicks III | Date: | Sat, 14 Jun 2003 15:35:02 +0000 |
| Subject: | RE: [PHP] Very Wierd Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151487@lists.php.net to get a copy of this message | ||
> \0 is a NULL character, IIRC. Either use single quotes:
> echo ('EBCO\030774-006\BUBBLER VALVE');
> or use two slashes, like you did above:
> echo ("EBCO\\030774-006\\BUBBLER VALVE");
> ---John Holmes...
Problem is that this description is coming from a DB, that's
why I was trying to use addslashes, which caused me the same
problems.
James