Re: Displaying data from a MySLQ table

From: Date: Fri, 30 Jun 2006 19:49:01 +0000
Subject: Re: Displaying data from a MySLQ table
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-239015@lists.php.net to get a copy of this message
Don wrote:
Hi Have have a varchar field in a MySQL database which contains the following 905.362.6000"l""s"'L' I am trying to display it on my web page in a <INPUT="TEXT"> field but all I see is: 905.362.6000 I am wondering why the trailing characters do not display even though they are present in the database when I check using PhpMyAdmin. Please help.
You need to run the value through htmlentities (http://php.net/htmlentities).
This email and any files transmitted with it are strictly confidential and may be privileged information. It is intended solely for the individual or company to whom it is addressed and may not be copied, forwarded, transmitted or otherwise distributed in any manner or form to any other party. If you are not the intended recipient or the person responsible for delivering this e-mail to the intended recipient, please indicate so and return this email to the sender, after which, kindly delete it from your computer as well as your email server. Without limitation, LCL Navigation accepts no liability whatsoever and howsoever caused in connection with the use of this email.
And this email is strictly confidential and may be privileged information. In fact you will break the law if you read it. When you hear the sirens please don't run. If you do run we'll still get you but we'll be mighty pissed off when we do. And you never want to piss us off. You have been warned. Have a nice day ;) -Stut

« previous php.general (#239015) next »