You are here: Re: Newbie needs help to fix text in a textarea « PHP SQL « IT news, forums, messages
Re: Newbie needs help to fix text in a textarea

Posted by Krustov on 01/02/07 22:27

<comp.lang.php>
<william.clarke>
<2 Jan 2007 14:16:55 -0800>
<1167776215.468085.66010@a3g2000cwd.googlegroups.com>

> > > 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 .
> >
>
> Why put it in a text area if it isn't edittable?
>

I was tempted to ask the same thing - but life is too short for that
sort of thing and its usually best just to supply the answer :-)


--
www.phptakeaway.co.uk
(work in progress)

 

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

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