very annoying textarea problem in quickform...

From: Date: Thu, 21 Dec 2006 13:08:45 +0000
Subject: very annoying textarea problem in quickform...
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26162@lists.php.net to get a copy of this message
Hi All I'm trying to do is add a group of textareas and give each one a label. When I do this with advcheckboxes it works ok, but for some reason the textareas dont show their labels and the code looks correct. What is going on???!?! Here's my code: $res =& $mdb2->query('SELECT * FROM Skills'); $skills = array(); while ($row = $res->fetchRow(MDB2_FETCHMODE_ASSOC)) { $skills[] = &HTML_QuickForm::createElement('textarea', $row['skillid'], $row['skillname'], 'rows=4 cols=30'); } $form->addGroup($skills, 'skills', 'Your requirements:', '<br />'); I've done print_r and the correct $row['skillname'] is returned so I know the correct values are there. But they just aren't showing for some reason. I've tried to remove the skillgroup label but not working!! Please help! Thanks rav www.bitesoftware.com - software for a better lifestyle _________________________________________________________________ It's Hotmail's 10th Birthday! Come and play Pass the Parcel http://www.msnpasstheparcel.com

« previous php.pear.general (#26162) next »