Gayner Posted August 29, 2009 Share Posted August 29, 2009 $ibforums->member['points'] -= $style_cost; And my $style_cost += 15.00; is that.. I want to beable to do $ibforums->member['points'] -= $style_cost-$style_cost2,etc..; possible ? if so how? Quote Link to comment Share on other sites More sharing options...
trq Posted August 29, 2009 Share Posted August 29, 2009 There is nothing wrong with the syntax you have posted. Exactly what is the problem? Quote Link to comment Share on other sites More sharing options...
Gayner Posted August 29, 2009 Author Share Posted August 29, 2009 There is nothing wrong with the syntax you have posted. Exactly what is the problem? lol my code will work? i never even thought it would ,lol let me try.. my bad Quote Link to comment Share on other sites More sharing options...
Gayner Posted August 29, 2009 Author Share Posted August 29, 2009 There is nothing wrong with the syntax you have posted. Exactly what is the problem? lol my code will work? i never even thought it would ,lol let me try.. my bad OK I got it to work but I need to add .00 after each number: $style_cost15 += 15.00; but I have this code to enter it into db; $lol = $style_cost15+$style_costb+$style_costi; Then I put $lol in my field values and it shows up with out no .00 ?HELP PLEASE LOL Forum Store gayner - 24 August 29, 2009, 1:31 am Bought a Topic Color Addon Purchased Custom (Topic Title) see the -24 is supposed to be - 24.00 why isn't it adding the .00 when it's defined right here: $style_cost15 += 15.00; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.