Posted by Krustov on 01/02/07 03:07
<comp.lang.php>
<raj>
<Mon, 1 Jan 2007 16:43:16 +0000>
<0001HW.C1BEEAA4001125FAB019F94F@news.zen.co.uk>
> I'm a newbie needing help to fix imported text in a textarea i.e so that the
> imported text in the text area cannot be changed in the webbrowser. Here's
> the code snippet:
>
> <p><textarea name="textarea2" cols="70" rows="7" wrap="virtual"><?php
> include("contracts/termsandconditions.txt"); ?></textarea></p>
>
<textarea name="textarea2" disabled cols="70" rows="7">
Will grey the text .
<textarea name="textarea2" readonly cols="70" rows="7">
Will display the text as normal .
--
www.phptakeaway.co.uk
(work in progress)
Navigation:
[Reply to this message]
|