Added dbi_type()

This commit is contained in:
David Anderson 2004-05-28 10:10:16 +00:00
parent 9627b4803d
commit e0a9729b47

View File

@ -100,7 +100,7 @@ public adminSql() {
return PLUGIN_HANDLED return PLUGIN_HANDLED
} }
dbi_query(sql,"CREATE TABLE IF NOT EXISTS admins ( auth varchar(32) NOT NULL default '', password varchar(32) NOT NULL default '', access varchar(32) NOT NULL default '', flags varchar(32) NOT NULL default '' ) TYPE=MyISAM") dbi_query(sql,"CREATE TABLE IF NOT EXISTS admins ( auth varchar(32) NOT NULL default '', password varchar(32) NOT NULL default '', access varchar(32) NOT NULL default '', flags varchar(32) NOT NULL default '' )")
if(dbi_query(sql,"SELECT auth,password,access,flags FROM admins") < 1) { if(dbi_query(sql,"SELECT auth,password,access,flags FROM admins") < 1) {
dbi_error(sql,error,127) dbi_error(sql,error,127)