How to check if the result is 1?
#1

I want to check if it's locked, but it won't go.

mysql_get_field( "Locked", vInfo[ vInfo[ vehicleid ][ Id ] ][ Locked ] );

I tryed

if(vInfo[ vInfo[ vehicleid ][ Id ] ][ Locked ] == 1 )


But it won't work. In the log i can see that it get's the right result. Should i use strval ? How should i do?
Reply


Messages In This Thread
How to check if the result is 1? - by ajwar - 29.10.2010, 13:16
Re: How to check if the result is 1? - by Cameltoe - 29.10.2010, 13:19
Re: How to check if the result is 1? - by ajwar - 29.10.2010, 13:20
Re: How to check if the result is 1? - by Cameltoe - 29.10.2010, 13:25
Re: How to check if the result is 1? - by ajwar - 29.10.2010, 13:37

Forum Jump:


Users browsing this thread: 1 Guest(s)