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 Message-----
From: Hafidz Abdullah [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 24, 2004 3:44 AM
Subject: [PHP-DB] Text area

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

function write_textarea()
  return "<input type=textarea rows="5" cols="70" name="">";
Doesn't work. How can I make it work?

Thanks & regards,

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to