Re: Text area

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I suspect your return result looks something like

<input type=textarea rows=

rather than the full string, as you were expecting.  You do need to
escape quotes, as they are special characters.  Try:

function write_textarea()
 {
  return "<input type=textarea rows=\"5\" cols=\"70\" name=\"\">";
 }

I'm aware of the other replies to this message, but I'm being literal
and assuming you want that exact string returned, regardless of other
alternatives.  HTH.
-- 
Peter Ellis - pellis@xxxxxxxxxxxxxxx
Web Design and Development Consultant
naturalaxis | http://www.naturalaxis.com/

On Tue, 2004-08-24 at 16:43 +0800, Hafidz Abdullah wrote:
> Hi again, everyone.
> 
> I also have a problem creating my text area.  I meant to do a text area (measuring 5 rows by 70 columns) which accompanies the words: "First 50 words are free. Subsequent 50 words or part thereof, $50 will be charged:"
> 
> function write_textarea()
>  {
>   return "<input type=textarea rows="5" cols="70" name="">";
>  }
>  
> Doesn't work. How can I make it work?
> 
> Thanks & regards,
> Hafidz

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux