Page 1 of 1

Textboxes

Posted: Thu Aug 10, 2006 1:55 pm
by sixspeed
Hi,

i am having a problem with my php page, what the program does is: a user types a serial number on one page then brings up another page, it pulls all the data from a mysql database and populates all the fields. Now the problem is for example; a unit description, the textbox on the php page will only display characters up until a space then stop for example:

database record
chassis has 6 blades

textbox on php page
chassis

- i have tried to echo the varible to see what it shows and it shows the full sentence so the varible is good i just dont know why when i put it in a box it doesn't show the whole string

Any help would be great

thanks alot ! :D

Posted: Thu Aug 10, 2006 3:27 pm
by Ollie Saunders
html attributes should be quoted:

This...

Code: Select all

<input type=text value=hello, world>
...is really really bad form...

While this

Code: Select all

<input type="text" value="hello, world" />
...ahhh, makes me feel all warm and fuzzy inside.

If that doesn't solve the problem, post some code. Without code I can only guess from clues.