[eluser]Samus[/eluser]
Because the 2nd parameter is expected to be an array.
But explain what you're trying to do abit.
I'm a little confused here:
Code:
user_credits = user_credits - '.$credits.''
Something tells me you're trying to subtract the value of column 'user_credits' by $credits?