Loading clans from DB
#4

pawn Код:
forward LoadClans();
public LoadClans()
{
        mysql_format(MySQL, TempQuery, sizeof(TempQuery), "SELECT * FROM `"Clans_Table"` WHERE `cID` = '%i'", c);
Why have you quoted Clans_Table inside of the ``?

surely it would be like this:
pawn Код:
forward LoadClans();
public LoadClans()
{
        mysql_format(MySQL, TempQuery, sizeof(TempQuery), "SELECT * FROM `Clans_Table` WHERE `cID` = '%i'", c);
Reply


Messages In This Thread
Loading clans from DB - by biker122 - 25.07.2014, 14:13
Re: Loading clans from DB - by Virtual1ty - 25.07.2014, 15:08
Re: Loading clans from DB - by biker122 - 25.07.2014, 15:23
Re: Loading clans from DB - by AMouldyLemon - 25.07.2014, 15:25
Re: Loading clans from DB - by biker122 - 25.07.2014, 15:28
Re: Loading clans from DB - by AMouldyLemon - 25.07.2014, 15:29
Re: Loading clans from DB - by Konstantinos - 25.07.2014, 15:31
Re: Loading clans from DB - by biker122 - 25.07.2014, 15:39
Re: Loading clans from DB - by Konstantinos - 25.07.2014, 15:47
Re: Loading clans from DB - by Virtual1ty - 25.07.2014, 16:09

Forum Jump:


Users browsing this thread: 2 Guest(s)