03.12.2016, 15:22
(
Last edited by Yaa; 03/12/2016 at 04:55 PM.
Reason: OMG !
)
Hello !
Why it's not creating the table :/
There my settings :
and my creating Section :
Any Help Please ?
Thanks in advence !
Why it's not creating the table :/
There my settings :
PHP Code:
#define SQL_DATABASE "test" // your database name
#define SQL_SERVER "localhost" // your mysql host/server address
#define SQL_USERNAME "root" // your mysql administration access user
#define SQL_PASSWORD "" // password for the user
#include <easyDB>
PHP Code:
DB_INIT();
print("DB Loading.....");
DB_CREATE_TABLE("accounts");
DB_StringField("name");
DB_StringField("salt");
DB_StringField("password");
DB_StringField("ip");
DB_IntField("kills");
DB_IntField("deaths");
DB_IntField("cash");
DB_IntField("admin");
DB_IntField("kicks");
DB_IntField("bans");
DB_IntField("id");
DB_PrimaryKey("id");
DB_CLOSE();
Thanks in advence !