Re: populating textarea with data
| From: | Hugh Danaher | Date: | Fri, 07 Mar 2003 19:50:39 +0000 |
| Subject: | Re: populating textarea with data | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-138688@lists.php.net to get a copy of this message | ||
get your field info from a mysql search then do:
print "<textarea name=field rows=3
cols=50>".stripslashes($array_result['field'])."</textarea>";
Hope this helps,
Hugh
----- Original Message -----
From: "Mirco Ellis" <mirco.ellis@isoftpe.co.za>
To: "Php-General (E-mail)" <php-general@lists.php.net>
Sent: Friday, March 07, 2003 6:27 AM
Subject: [PHP] populating textarea with data
> Hi, I have a simple RFQ ( request for quotes ) system that runs on mysql
and
> php. The clients inserts data into the database with a simple form, no
> problem! What I would like to do is when the user recalls data from the db
> that the data is displayed in a textarea rather than the old fashioned php
> table format. This way the user can edit the data conveniently and
> repopulate the db. I don't have the foggiest idea where to begin. Can
anyone
> help me please?
>
>
> Mirco Ellis
> I-Soft Solutions
> e-mail: mirco.ellis@isoftpe.co.za
> Tel: +27414847161
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>