|
Posted by Derek @ Blueyonder on 07/04/06 14:06
>>>>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?
>>>
>>> Does the entry contain quote marks?
>> No
>
>
> Try like this:
> <input name='title' type='text' size='100' value='" . $title . "'/>
>
> The entire title is printed to the field if you view the source code*, but
> in html code all literal attributes must be delimited with quote marks. If
> not, only the first word is used.
>
>
> *) ALWAYS view the source code to see what is actually printed, the
> html-representation might not be accurate, like in this case. It turns out
> you're dealing with html problem, not php.
>
> --
> "ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" -lpk
> spam@outolempi.net | Gedoon-S @ IRCnet | rot13(xvzzb@bhgbyrzcv.arg)
>
Hi
Good one, that is working fine. And yes checking the source html it was
different to what was shown on the screen. Very strange.
Many thanks
Derek
[Back to original message]
|