MySQL
#9

Fixed..
Instead of
PHP код:
HouseType(id

    new 
string[17]; 
    switch(
id
    { 
        case 
TYPE_CAMPstring "Camp House"
        case 
TYPE_SMALLstring "Small House"
        case 
TYPE_MEDIUMstring "Medium House"
        case 
TYPE_BIGstring "Big House"
        case 
TYPE_VILLAstring "Villa"
        default: 
string "Unknown"
    } 
    return 
string

I was using strmid function to declare type to house
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: 2 Guest(s)