I've managed to get SQL working now. Just one query. How can I get perl to create a new table? I have the table's name set in $acctab, this is what i have, but it doesn't work.. how so?
my $sth = $dbh->prepare(" CREATE TABLE $acctab ( uid mediumint(10) NOT NULL, nick varchar(30) NOT NULL, ulevel tinyint(3) NOT NULL, slevel tinyint(3) DEFAULT '0' NOT NULL, aop tinyint(1) DEFAULT '0' NOT NULL, greet text, PRIMARY KEY (uid) ) "); $sth->execute; any tips/suggestions? Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]