Re: string formatting problem

From: Date: Tue, 18 Jul 2000 17:25:40 +0000
Subject: Re: string formatting problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-7128@lists.php.net to get a copy of this message
htmlentities($result[COL]); I think? randy ______________________________________________ http://www.randys.org http://www.iduh.com http://www.digifont.com For-pay Internet distributed processing. http://www.ProcessTree.com/?sponsor=11087 > From: <scott@yunau.com> > Date: Tue, 18 Jul 2000 10:20:50 -0600 > To: <php-general@lists.php.net> > Subject: [PHP] string formatting problem > > 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 > __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com

« previous php.general (#7128) next »