php-db | 2002091

RE: [PHP-DB] editable grid From: John Holmes (holmes072000 <email protected>)
Date: 09/14/02

> 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