Use that to query the auto generated id
my ($id) = $dbh->selectrow_array ( 'SELECT id FROM ScoreCard WHERE Url = ?',undef,$Url);
Update ; Perhaps also add UNIQUE KEY `URL` (`Url`) to your table ScoreCard create.
pojIn reply to Re: Perl DBI and Foreign Keys
by poj
in thread Perl DBI and Foreign Keys
by Marshall
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |