[PHP-DB] Re: Checkboxes to gather rows to delete

2003-02-25 Thread Christoph Christ (Wien)
print ""; You must put all of those checkbox values into an array and then use the foreach loop, to process the selected checkbox items)... print_r($rowid); would print out the contents of the generated array should be something like: Array( 4=>4, 6=>6, 1024=>1024 ); with this you could genera

[PHP-DB] Re: Checkboxes to gather rows to delete

2003-02-24 Thread Mathieu Dumoulin
You best bet is to do this: List all your rows with the ID to delete in the NAME of the checkboxes and at the same time build a list seperated by "," with your IDs so you can use that list the EXPLODE function for PHP: Echo ""; $idList .= $sep . $row[id]; $sep = "," This little snippet is used t