You are here: text is truncated « PHP Programming Language « IT news, forums, messages
text is truncated

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>");
?>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация