Re: Can't delete row with DBI.pm

2012-07-17 Thread Rob Dixon
On 18/07/2012 00:18, Tessio F. wrote: Hello, I have an database with a two column primary key: create database contacts( username char(20) not null, contact char(20) not null, primary key (username, contact) ); I'm trying to delete a row with the command: (connect to db..) my $sth = $dbh->prepa

Can't delete row with DBI.pm

2012-07-17 Thread Tessio F.
Hello, I have an database with a two column primary key: create database contacts( username char(20) not null, contact char(20) not null, primary key (username, contact) ); I'm trying to delete a row with the command: (connect to db..) my $sth = $dbh->prepare("DELETE FROM contacts