Jump to content

[SOLVED] -= $style_cost SIMPLE HELP!@@@


Gayner

Recommended Posts

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;

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.