RE: [PHP-WIN] Text area

From: Date: Wed, 18 Apr 2001 20:42:08 +0000
Subject: RE: [PHP-WIN] Text area
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-6840@lists.php.net to get a copy of this message
Thanks, it worked with a slight tweak. printf("<tr><td><textarea cols=50 rows=5 name=status >%s</textarea></td></tr>\n", ($formValues) ? >$formValues["status"] :""); RB -----Original Message----- From: afan [mailto:afan@sprout.net] Sent: Wednesday, April 18, 2001 4:34 PM To: Rasna Baruah Subject: Re: [PHP-WIN] Text area Try this: printf("<tr><td><textarea cols=50 rows=5 name=status>%s</textarea></td></tr>\n", $row["status"]); afan ----- Original Message ----- From: "Rasna Baruah" <rasnab@magneticnorthinc.com> To: "Tomasz Abramowicz" <tomasz@spin.it>; <php-windows@lists.php.net> Sent: Wednesday, April 18, 2001 1:29 PM Subject: RE: [PHP-WIN] Text area > Thanks but I'm afraid it didn't work, I a get parse error (expecting > T_STRING' or T_VARIABLE' or `T_NUM_STRING' ). > My line of code is > printf("<tr><td><textarea cols=50 rows=5 name=status><? echo $row["status"]; > ?></textarea></td></tr>\n", ($formValues) ? > $formValues["status"] :""); > > RB > > -----Original Message----- > From: Tomasz Abramowicz [mailto:tomasz@spin.it] > Sent: Wednesday, April 18, 2001 1:10 PM > To: Rasna Baruah; php-windows@lists.php.net > Subject: Re: [PHP-WIN] Text area > > > <TEXTAREA rows="10" cols="10"> > <? > > echo $row["textarea_db"]; > > ?> > </TEXTAREA> > > ----- Original Message ----- > From: "Rasna Baruah" <rasnab@magneticnorthinc.com> > To: <php-windows@lists.php.net> > Sent: Wednesday, April 18, 2001 10:05 PM > Subject: RE: [PHP-WIN] Text area > > > > I haven't been able to find any clear answer to the question regarding > > "textarea". Can anybody help? I am not being able to bring data from a > > database into a textarea, it works fine if is is just <input type=text>. > > > > Thanks > > RB > > > > > > > > > > > > > -------------------------------------------------------------------------- -- > ---- > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > > For additional commands, e-mail: php-windows-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.windows (#6840) next »