Re: records into an editable box
| From: | Dan Brunner | Date: | Wed, 06 Mar 2002 20:23:08 +0000 |
| Subject: | Re: records into an editable box | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17527@lists.php.net to get a copy of this message | ||
Hello!!
Do you mean a textarea??
And you want to populate the "textarea" with the data, right?
Dan
On Wednesday, March 6, 2002, at 01:34 AM, jlgerfen@hotmail.com wrote:
How would I change this sql statement to pull the db table and display it within an editable box within a form? Any help or tutorials would be great. <?php $result = mysql_query("SELECT $table FROM $field",$dbh) or die("Could not execute query, please try again later"); echo "<B>text:</B><br>\n"; printf(mysql_result($result,"wel_area")); ?> Thanks in advance, Jas -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php