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
To: [EMAIL PROTECTED]
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
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

Reply via email to