[Tutorial] Making A simple User DataBase with SQLite
#8

theres a mistake,
pawn Код:
ConnectSQL();
should be
pawn Код:
ConnectSQLite();
otherwise you get
pawn Код:
error 017: undefined symbol "ConnectSQL"
this is because you forwarded
pawn Код:
forward public ConnectSQLite(); //<---- SQLite and not SQL.
public ConnectSQLite()
{
    Users = db_open("PlayersBase.db");
    db_query(Users, "CREATE TABLE IF NOT EXISTS `USERS` (`NAME`, `PASSWORD`, `CASH`)");
    print("[SQL]:`Has connected Succesfully`");
    return 1;
}
Reply


Messages In This Thread
Making A simple User DataBase with SQLite - by Youice - 08.02.2013, 15:06
Re: Making A simple User DataBase with SQLite - by u3ber - 08.02.2013, 16:02
Re: Making A simple User DataBase with SQLite - by Youice - 08.02.2013, 16:42
Re: Making A simple User DataBase with SQLite - by ReneG - 09.02.2013, 03:02
Re: Making A simple User DataBase with SQLite - by T0pAz - 09.02.2013, 04:48
Re: Making A simple User DataBase with SQLite - by new121 - 11.02.2013, 04:30
Re: Making A simple User DataBase with SQLite - by Franx - 11.02.2013, 06:41
Re: Making A simple User DataBase with SQLite - by Voxel - 10.11.2013, 10:13
Re: Making A simple User DataBase with SQLite - by Voxel - 10.11.2013, 12:07

Forum Jump:


Users browsing this thread: 1 Guest(s)