Sorry if this has been posted somewhere, but I cannot find, hence the
post.
I'm running MySQL 4.1.14, PHP 5.04, and Apache 2.0.54 on Windows XP
Service Pack 2. I have text data in char fields in MySQL. I have a php
file that extracts data and displays the data on screen in a table.
Some of the fields contain spaces (e.g. "Barr Lake"). The non-editable
output (produced by echoing html commands in the php file) works
perfectly.
To allow editing of existing records, I've created a php file that
takes the data and plugs it into the 'value' attributes of input text
fields of a form (again produced by echoing html commands in the php
file). When there is a space in the data, the field is truncated at
the space. Instead of "Barr Lake" in the editable input text field,
"Barr" is displayed instead. The remaining data is not moved to the
next field but lost.
I'm hoping this issue is relativelywell-known and that this
explanation will be sufficient to spark someone's memory. If not, I
can provide code.
Thanks!
The php_mysql group is dedicated to learn more about the PHP/MySQL web database
possibilities through group learning.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php_mysql/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/