Problems with Spaces in Data SQL/PHP
Posted: Fri Jul 06, 2007 12:08 pm
When I enter data such as "Phone Template Document" into my database it works correctly.
However when I pull up the data in a field to edit using...
Only the 'Phone' shows up in the field. Why does it get cut off with the space? How do I bring the entire variable back including spaces? This is a huge bug because any data with a space will get cut off when re-submitting.
Thanks
Kevin
kevinsallmen@yahoo.com
However when I pull up the data in a field to edit using...
Code: Select all
<tr>
<td><b>Document Name:</b></td>
<td><INPUT size=39 name=store_name value=<?=$data[1]?>></td>
</tr>Thanks
Kevin
kevinsallmen@yahoo.com