I am getting duplicate entries in mysql database using the following and am
not sure why. Similar code for deleting and modifying the db work fine. Using
most recent versions of apache/modperl/embperl/mysql.
[- use DBI;
$driver="DBI:mysql";
$database="Fitchhillinn";
($date,$title,$content)=($fdat{date},$fdat{title},$fdat{content});
my $dbh=DBI->connect("dbi:mysql:$database:localhost",$user,$password) or die
"Can't connect";
$dbh->do("INSERT INTO specials VALUES ('$date','$title','$content')");
$dbh->disconnect; -]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]