Multiple Select form element, submit button. On submit iterate through the submitted sequence to delete from the database(or use a delete from statement that has the list of items depending on other work you want to do on the list before deletion). HTML_QuickForm gives you an easy way to generate the list. James Kilbride > -----Original Message----- > From: bruce [mailto:bedouglas@xxxxxxxxxxxxx] > Sent: Tuesday, October 11, 2005 10:06 AM > To: php-general@xxxxxxxxxxxxx > Subject: looking for code to delete from lists.. > > hi. > > i'm generating a list > > +----------------+ > | | > | foo | > | cat | > | . | > | . | > | . | > | | > +----------------+ > > cancel/submit > > i want to give the user the ability to delete single/multiple > rows from the list. i then want to be able to write/submit > the resulting list. any code samples, or pointers to apps > that all ready do this would be appreciated. > i'd prefer to not reinvent the wheel! > > i'm thinking that i could create a select/option list, and > then allow the user to select any items that they want to > delete. the app would then iterate through the array on the > submit, and do an update on the db tbls.. > > thanks > > -bruce > bedouglas@xxxxxxxxxxxxx > > -- > PHP General Mailing List (http://www.php.net/) To > unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php