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?
0 · ·