in reply to Inserting data into MS Access databse.........
. Also,$sql = "INSERT INTO $formfriend VALUES ($formemail,$formpass)";
can be renooberated thusly :$rs = $dbh->Execute( $sql );
$DBI::errstr will give you a much more descriptive error if something doesn't work in between (I think, please correct if wrong) DBI and your DBD.$rs = $dbh->Execute( $sql ) or die ("Can't execute SQL statement. Perl + says $!, DBI says ",$DBI::errstr,"\n");
|
|---|