bool and mysql
#5

Not sure if it works, but give it a try.
U guess your databases passes an 1 or an 0
CarInfo[i][EngineStatus] = (strval(Data) == 1) ? TRUE : FALSE;


Ps. do not bump in only 9 minutes. This is agains the rules
Reply


Messages In This Thread
bool and mysql - by Larry123 - 23.03.2012, 00:54
Re: bool and mysql - by ikkentim - 23.03.2012, 00:59
Re: bool and mysql - by Larry123 - 23.03.2012, 01:01
Re: bool and mysql - by Larry123 - 23.03.2012, 01:10
Re: bool and mysql - by ikkentim - 23.03.2012, 01:15
Re: bool and mysql - by Larry123 - 23.03.2012, 01:42

Forum Jump:


Users browsing this thread: 1 Guest(s)