Jump to content
MakeWebGames

Recommended Posts

Posted

Estate.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Into

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Also note the SQL for taxes is

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

And add in cron day

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Notice: you will have to update each user to make sure they have taxes. Also if you want to change the tax amount just change .1 into whatever you want in estate.php.

  • 2 months later...
Posted

Re: [Free V2] taxes

OR

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

and

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

?

How about that?..but obviously you'd have to change estate.php accordingly

Posted

Re: [Free V2] taxes

pft not that hard change that stuff once someone else actually gets the base code done WHICH I did without looking at any one else's coding thank you. Sure I got the concept from TC, but at least I coded it on my own along with the sql. :wink:

  • 2 years later...
Posted

I know this is old but can someone help me i'm trying to figure out how to add the daily tax to the main page not exactly sure how to do it. so that the players remember easier how much tax they got.

Posted
Simple way would be:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Incorrect, remove the { and }

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted
Simple way would be:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Incorrect, remove the { and }

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Oh yeh, I did {$ir['Taxes'} and then number_format, forgot to remove the {}

Posted
or

echo 'House tax: '.money_formatter($ir['Taxes']).'.';

Umm - No why would you even use money_formatter, that is just the stupidest function there includig mysql_escape too.

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.   Paste as plain text instead

  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...