RE: [PHP-DB] editable grid
| From: | (Edward Peloke) | Date: | Mon, 16 Sep 2002 13:50:46 +0000 |
| Subject: | RE: [PHP-DB] editable grid | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-21771@lists.php.net to get a copy of this message | ||
Thanks John,
I think I am going to try phplens before I try to create my own.
Eddie
-----Original Message-----
From: John Holmes [mailto:holmes072000@charter.net]
Sent: Saturday, September 14, 2002 11:19 PM
To: 'Edward Peloke'; php-db@lists.php.net
Subject: RE: [PHP-DB] editable grid
> IS there a way in php to display the results of a query in an editable
> grid?
Yes, but I doubt anyone is going to write it for you. Maybe you should
install phpMyAdmin?
If you know the exact query and number of columns/rows returned, it will
be easier. You execute your query, and then make a loop that loops
through each row. Inside of that loop is another that loops through each
column in that row. Instead of just displaying the value, you create a
text box and show the value there.
You'll have to work out some kind of system for naming all of the boxes
(I'd recommend arrays) and for creating the query to submit all of the
changes...
Yes, it's possible.
---John Holmes...
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php