in reply to Re: mysql no records after space
in thread mysql no records after space

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.

Replies are listed 'Best First'.
Re: (bbfu) (sql-html-printing problems) Re(2): mysql no records after space
by Anonymous Monk on Sep 06, 2001 at 22:22 UTC
    Thank you, Thank you, Thank you - oh great enlightened BBFU I stared at that for so long..... And - STUPIDLY - I did have the quotes around $model !!! Sometimes you really can't see the wood for the trees... Thanks again - your a mate! d. Thanks to all for the input and TIMTOWTDI for the comments - as an amateur - I have started off with too many bad habits. I'm going to put them in check before they get out of hand!