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 <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to