Quoth your code:
<TD><INPUT TYPE=TEXT SIZE=32 NAME="comp" VALUE=$comp></TD>
The reason it is only displaying up to the first space is that you are not putting quotes around $comp (et al.) when you specify it as the VALUE. Thus, everything after the first space gets interpreted by the web browser as further properties of the <INPUT> tag (ie, it becomes: <TD><INPUT TYPE=TEXT SIZE=32 NAME="comp" VALUE=THIS IS THE RECORD></TD>, with IS, THE, and RECORD all being value-less properties to the tag, which are silently ignored). Put quotes around them and it should work.
bbfu
Seasons don't fear The Reaper.
Nor do the wind, the sun, and the rain.
We can be like they are.
In reply to (bbfu) (sql-html-printing problems) Re(2): mysql no records after space
by bbfu
in thread mysql no records after space
by drivle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |