Re: Is there no one who can help me out there.

From: Date: Tue, 18 Sep 2001 23:34:18 +0000
Subject: Re: Is there no one who can help me out there.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-67761@lists.php.net to get a copy of this message
John, someone did reply to you alread. here.... let me snip from that email.... oOoOoOoOoOoO Gerard Samuel Said: oOoOoOoOoOoO check to see if the field where the info is going into is long enough. ie varchar(50). anything more than 50 get cut off. > being diplayed on the succeeding web page. I've tried what did you name the textfield? You should be able to echo "$string"; if you named the textfield string.... oOoOoOoOoOoO End of Gerard's Words oOoOoOoOoOoO ----- Original Message ----- From: "John Holcomb" <john_6932php@yahoo.com> To: <php-general@lists.php.net> Sent: Tuesday, September 18, 2001 4:29 PM Subject: [PHP] Is there no one who can help me out there. > I have a text input field in my form. I need the user > to be able to enter something like: Hello, I need # > help. After which they click on a submit button. The > succeeding page then takes this text and tries to > display it and tries to store "Hello, I need # help" > in a varchar field in a mysql table column. The > mysql database is truncating the # sign and the text > succeeding the # sign. Also, absolutly no text is > being diplayed on the succeeding web page. I've tried > using addslashes() and I was warned against using > htmlentities(). Also, I'm not sure if I'm dealing > with 2 issues: A mysql issue and a html issue. Or, am > I dealing with one issue: A mysql issue or an HTML > issue. > > I know think my problem is that when I pass text to > another page with the # sign, it's interpreting it as > a comment. Is their any way to somehow escape the # > sign. > > > > > Thank you, > > John > > __________________________________________________ > Terrorist Attacks on U.S. - How can you help? > Donate cash, emergency relief information > http://dailynews.yahoo.com/fc/US/Emergency_Information/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#67761) next »