Posted by Derek @ Blueyonder on 07/04/06 12:10
Hi
Hope that this is the correct newsgroup for this, sorry if it is not.
I have the following code which is used to display the data brought back
from a MySQL database in an input box so that a user cam make changes before
resubmitting them.
If I display $myrow[2] all of the text is there, if I use the following code
only the first word is show The same happens if I simply use $myrow[2] and
replace the $title altogether.
How do I get it to show all of the text please?
Many thanks
<?php
$title = $myrow[2] ;
echo ("<td colspan='2'><input name='title' type='text' size='100'
value=" . $title . "></td>");
?>
[Back to original message]
|