Problem with get data MySQL
#6

For sqlid use %d instead of %s in print line.
For pass, the cache_get_row line is wrong.
Here is the correct one :
Quote:

cache_get_row(0, 1, Player[playerid][pPass], 1, 130);

You had 3 in place of 1. It should be 1 as the index of password field is 1 according to your select line.
Reply


Messages In This Thread
Problem with get data MySQL - by MRM - 02.07.2016, 08:42
Re: Problem with get data MySQL - by SyS - 02.07.2016, 08:43
Re: Problem with get data MySQL - by MRM - 02.07.2016, 08:45
Re: Problem with get data MySQL - by MRM - 02.07.2016, 08:50
Re: Problem with get data MySQL - by xJayce - 02.07.2016, 08:51
Re: Problem with get data MySQL - by BroZeus - 02.07.2016, 09:02
Re: Problem with get data MySQL - by MRM - 02.07.2016, 09:20
Re: Problem with get data MySQL - by [cS]Owain - 02.07.2016, 09:31
Re: Problem with get data MySQL - by MRM - 02.07.2016, 09:41

Forum Jump:


Users browsing this thread: 2 Guest(s)