In message <[EMAIL PROTECTED]>, Jim Tyler <[EMAIL PROTECTED]> writes >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.
Are you using '$data' or $data in your code where you echo the code? The first (quotes around the variable) will allow spaces in data, the second won't. -- Pete Clark http://www.hotcosta.com http://www.spanishholidaybookings.com 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/
