string formatting problem
| From: | scott at yunau dot com | Date: | Tue, 18 Jul 2000 16:20:50 +0000 |
| Subject: | string formatting problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-7094@lists.php.net to get a copy of this message | ||
Hello,
I have a problem with special characters (hyphens,commas and so on) when I retrieve data from my
MySql db.
Example...
no-one@somewhere.com get's formatted like the following...
no-
one@somewhere.com
It get's wrapped with a newline after the hyphen character. I don't have too many of
these but it does make the page look shotty when one exists. Any ideas? I'm using the
echo($result[COL]);.
Setup
Solaris 2.7
Ultra-Sparc
PHP4.0
Apache 1.3.12
MySql 3.23.18
Thanks...
scott