I'm having problems displaying the whole string in an input box, it only shows the first word.
Here is a little more info
I do the below code
<input name='name' type='text' value=<?=$name?>>PHP Code:$row = mysql_fetch_array($result);
$name = $row['name'];
The code gets the correct results but only displays the first word in $name no matter how many words the string is.
The same code will display the whole string if used in a <textbox> but only the first word if used in a <input> box.
Any thoughts/experience?




Can't believe I couldn't see I was missing those. 
Bookmarks