MySQL query
#1

Why my table didn't was veryfied with succes?

pawn Код:
public MySQL_Start()
{
    print("Conecting at MySQL");
    MySQL_Connected = mysql_connect(mysql_host,mysql_user,mysql_database,mysql_password);
    if(!MySQL_Connected) return print("Connection with MySQL was not possible.");
    else
    {
        mysql_function_query(MySQL_Connected,"CREATE TABLE IF NOT EXISTS `users` (`id` int(11) NOT NULL, AUTO_INCREMENT,`name` varchar(25) NOT NULL,`password` varchar(25) NOT NULL,`score` int(11) NOT NULL,`bank` int(11) NOT NULL,`skin` int(11) NOT NULL,`money` int(11) NOT NULL,PRIMARY KEY(`id`))",false,"MySQL_Start_Response","s","users");
    }
    return 1;
}

// The response

public MySQL_Start_Response(text[])
{
    return Printf("%s table verified succesfully.",text);
}
All i'm getting is "Conecting at MySQL" and nothing more...

Could someone help me? Thanks...
Reply


Messages In This Thread
MySQL query - by arakuta - 24.04.2013, 23:52
Re: MySQL query - by RVRP - 24.04.2013, 23:59
Re: MySQL query - by arakuta - 25.04.2013, 00:02
Re: MySQL query - by Skyrise - 25.04.2013, 00:02
Re: MySQL query - by RVRP - 25.04.2013, 00:13
Re: MySQL query - by LiamM - 25.04.2013, 07:11

Forum Jump:


Users browsing this thread: 1 Guest(s)