Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
When I want to display info from a table, I have a problem that creeps up when I have space.
my code is
while ( $row = mysql_fetch_array($result) )
$fname = $row['FNAME']; $lname = row['LNAME'];
$email=$row['EMAILADDR']; $addr = $row['STADDR'];
$phone = $row['PHONE'];
echo('*First Name ');echo('
echo('*Last Name ');echo('
echo('*Email Address ');echo('
echo('*Street Address ');echo('
echo('*Phone Number ');
But when I use these input boxes to display, as soon as it hits a space, the rest is truncated. Like if the address is '409 main st'. In the database, the field contains '409 main st' and even if I use the echo(), '409 main st' appears. but if I use these input boxes, all that apears is '409'.
Any suggestions on how to handle this?