in reply to (Ovid) Re: dbi 500 error
in thread dbi 500 error
#!/usr/local/bin/perl use CGI qw/:standard/; use DBI; print header, start_html( -title => 'Test ' ), h1( 'Hello world' ), end_html; my $dbh; $dbh = DBI->Connect("DBI:mysql:strossus:localhost","strossus","******* +*"); my $table = $dbh->prepare (qq' CREATE TABLE players (firstname CHAR(20), lasttname CHAR(20), email CHAR(50), player INTEGER NOT NULL,, hitp INTEGER, maxhtipp INTEGER, minatt INTEGER, maxatt INTEGER, exp INTEGER, gold INTEGER)'); $table->execute(); $talbe->finish(); $dbh->disconnect();
Edited 2002-01-17 by Ovid to hide password :(
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(Ovid) Re(3): dbi 500 error
by Ovid (Cardinal) on Jan 18, 2002 at 03:28 UTC | |
by Anonymous Monk on Jan 18, 2002 at 05:46 UTC |