MySQL
#2

Quote:
PHP код:
    new house;
    if(
HouseInfo[house][hID] > MAX_HOUSES
I do not understand how you think this can even function? That variable never gets assigned a value and as such will always be 0.

In the next part suddenly "hID" is used as the array index instead. Where does this variable come from? Is it a global? Where does it get assigned a value? I'm having a hard time understanding it all.
Reply


Messages In This Thread
MySQL - by Micko123 - 25.11.2016, 18:11
Re: MySQL - by Vince - 25.11.2016, 18:17
Re: MySQL - by Micko123 - 25.11.2016, 18:25
Re: MySQL - by Micko123 - 25.11.2016, 20:22
Re: MySQL - by Alvitr - 25.11.2016, 20:50
Re: MySQL - by Micko123 - 26.11.2016, 19:35
Re: MySQL - by Micko123 - 26.11.2016, 19:50
Re: MySQL - by Micko123 - 26.11.2016, 20:01
Re: MySQL - by Micko123 - 26.11.2016, 20:53

Forum Jump:


Users browsing this thread: 1 Guest(s)