in reply to dbi 500 error
I'd also encourage use of$dbh = DBI->Connect("DBI:mysql:strossus:localhost","strossus","passwor +d") or die $DBI::errstr; my $table = $dbh->prepare qq' CREATE TABLE players (realname CHAR(20), = gold CHAR(40))') or die $dbh->errstr;
at the top of the script, so that this useful information gets dumped to your screen right away.use CGI::Carp qw(fatalsToBrowser warningsToBrowser); print header; warningsToBrowser(1);
|
|---|