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
Hafidz
Textarea is not a classic input type. Try:
function write_textarea()
{
return textarea rows=5 cols=70 name=/textarea;
}
- Original Message -
Hi again, everyone.
I also have a problem creating my text area. I meant to do a text area
(measuring 5 rows by 70
You may profitably investigate PEAR Quickform.
Nice client-side and server-side validation functions to do just that.
HTH
_
- Original Message -
From: Hafidz Abdullah [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 10:43 AM
Subject: [PHP-DB]
You need to add slashes to your return:
Return input type=textarea rows=\5\ cols=\70\ name=\\;
Or use single quotes:
Return 'input type=textarea rows=5 cols=70 name=';
Gary Every
Sr. UNIX Administrator
Ingram Entertainment Inc.
2 Ingram Blvd, La Vergne, TN 37089
Pay It Forward!
-Original
On 2001.09.12 13:24 Sommai Fongnamthip wrote:
I know this group for PHP-DB, but I could not find any help from
PHP-Manual about Text Area Handle. I'd like to accept input with
multi-line text box (use textarea quote). How could I get each row value
in text area. If someone have