cliftonbazaar Posted October 15, 2010 Share Posted October 15, 2010 I have code that gets data from the database but when it displays it only displays the data up until the first space, e.g if the address if 'Box 73' then it only displays 'Box'. My code is echo "<BR>Address - <INPUT NAME=address SIZE=100 VALUE=".$member['address'].">"; Link to comment https://forums.phpfreaks.com/topic/215972-displaying-white-space-when-getting-data-from-database/ Share on other sites More sharing options...
Pikachu2000 Posted October 15, 2010 Share Posted October 15, 2010 Your field attributes need to be quoted. They currently are not. Link to comment https://forums.phpfreaks.com/topic/215972-displaying-white-space-when-getting-data-from-database/#findComment-1122592 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.