RE: [PHP-DB] editable grid

From: Date: Sun, 15 Sep 2002 03:18:58 +0000
Subject: RE: [PHP-DB] editable grid
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-21763@lists.php.net to get a copy of this message
> 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...

« previous php.db (#21763) next »