RE: [PHP] Posting Query Results to an HTML form
| From: | John W. Holmes | Date: | Wed, 19 Mar 2003 03:13:13 +0000 |
| Subject: | RE: [PHP] Posting Query Results to an HTML form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-140235@lists.php.net to get a copy of this message | ||
> I have a MySQL query that I am sending the results to text boxes in a
> form.
> In the event of a space in the string data, the string is being
truncated
> at
> the first space. Is there a PHP function that can prevent this string
data
> from being truncated in the form.
No, there's no PHP function, but there is an HTML trick that you can
use: putting quotes around your values!
<input type="text" name="name" value="value">
etc...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/