I have a text input feild on a form, and the value is displayed using PHP. The wierd thing is though when php outputs a value of more than one word then only the first word will show up. For example, I might have PHP output the text input feilds value as "Video Games", but when you go to view it it will just say "Video". Is this a known bug in HTML or PHP, or is there somthing im doing wrong?
Code:
<input type="text" name="title" value=<?php echo $rows['title']; ?>>
By the way PHP outputs the values fine in textareas and just as regular text, this is the only thing its having trouble with.
|