mattdope has asked for the wisdom of the Perl Monks concerning the following question:
the page just says done at the bottom but no modification in database. Can anyone suggest a poss. reason for this?//to get the value from the form my $testTitle = param('title'); //to delete the row in the database $rows = $dbh->do(" DELETE FROM music WHERE title = $testTitle ");
2006-09-01 Retitled by Corion, as per Monastery guidelines
Original title: 'dbi-delete'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Issuing a DELETE statement with DBI
by b10m (Vicar) on Sep 01, 2006 at 08:57 UTC | |
by mattdope (Acolyte) on Sep 01, 2006 at 09:35 UTC | |
|
Re: Issuing a DELETE statement with DBI
by bart (Canon) on Sep 01, 2006 at 11:53 UTC | |
by Corion (Patriarch) on Sep 01, 2006 at 12:07 UTC | |
by bart (Canon) on Sep 01, 2006 at 12:11 UTC | |
by kwaping (Priest) on Sep 01, 2006 at 16:36 UTC | |
by Corion (Patriarch) on Sep 01, 2006 at 16:43 UTC | |
by kwaping (Priest) on Sep 01, 2006 at 16:59 UTC | |
| |
|
Re: Issuing a DELETE statement with DBI
by dokkeldepper (Friar) on Sep 01, 2006 at 10:51 UTC | |
|
Re: Issuing a DELETE statement with DBI
by aquarium (Curate) on Sep 01, 2006 at 08:53 UTC |