Re: losing data from a mysql database field

From: Date: Wed, 11 Jul 2001 07:21:13 +0000
Subject: Re: losing data from a mysql database field
Groups: php.db 
Request: Send a blank email to php-db+get-10270@lists.php.net to get a copy of this message
Hi, did you try to use quotes around the field value <input type="text" name="your_text" value="value"> or echo "<input type='text' name='field_name' value='$field_value'>"; Dobromir Velev -----Original Message----- From: Geoffrey Makstutis <mak@51pct.com> To: php-db@lists.php.net <php-db@lists.php.net> Date: Tuesday, July 10, 2001 9:03 PM Subject: [PHP-DB] losing data from a mysql database field >Hi, > >I'm having an odd occurrence using mysql. If I insert into a varchar field >with information like "This is the information", it works fine and I can >retreive and display the data using a normal 'print' or 'echo' statement. >However, if I try to display the data in a form field (so that I can edit the >data) I only get "This" (ie. I am losing everything after the first >whitespace character). > >Is there anything that anyone could suggest that would solve this problem? > >Thanks. > >Geoffrey > >-- >PHP Database Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net >For additional commands, e-mail: php-db-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.db (#10270) next »