converting string to int
#1

Hello, im PHP programmer since 3 years now, i'm studying little pawn to create an gamemode, pawn is easy, but i am trying to get a result from mysql, and i get it. The table is an int, and its value ist 3000,, i get the value as string, i need to convert it to int for using the value in the function givePlayerMoney(), i use strval() but it returns me "3" only :S i dont understand why.
Reply


Messages In This Thread
converting string to int - by redigaffix - 09.01.2013, 08:31
Re: converting string to int - by Sinner - 09.01.2013, 08:44
Re: converting string to int - by redigaffix - 09.01.2013, 09:19
Re: converting string to int - by Sinner - 09.01.2013, 10:41
Re: converting string to int - by redigaffix - 09.01.2013, 10:50
Re: converting string to int - by Konstantinos - 09.01.2013, 10:51
Re: converting string to int - by redigaffix - 09.01.2013, 10:54
Re: converting string to int - by redigaffix - 09.01.2013, 12:18

Forum Jump:


Users browsing this thread: 1 Guest(s)