Forgot Password / Register
Site Statistics
Total Members: 520
Total Tutorials: 242
Newsest User: 8884244477
Todays Unique Hits: 597
0 Users 4 Guests Online

Changing The Look Of Points

Ok. this is my first tutorial, its pretty simple, but makes your members system look alot more professional.

Okay. so we are changing the format from 100000 to 100,000. In this case. im refering to points as money.
Its an EXTREMLY Small Script. with only 5 lines of code needed:

PHP Code
1
2
3
4
5
<?php // starts PHP Code
$money $logged[money]; // makes the code $money equal your logged points
$money number_format($money); // now makes your logged points into a number format
echo $money;  // Displays the points in the new format
?>


Hope It Helps :)
Liquidsteel
Views:
2309
Rating:
Posted on Saturday 31st May 2008 at 12:04 PM
jambomb
jambomb
ok thanks
Posted on Friday 30th May 2008 at 09:38 PM
ShadowMage
ShadowMage
Where ever you echo the points =]
Posted on Friday 30th May 2008 at 09:22 PM
jambomb
jambomb
were do u put it ??
Posted on Sunday 4th May 2008 at 02:15 PM
Jackboy
Jackboy
Ahh brilliant,

I have never used number_format().

Thanks for introducing it to me :)
Posted on Sunday 11th November 2007 at 07:21 PM
DanielXP
DanielXP
Lol same. I'll change it soon.
Posted on Sunday 11th November 2007 at 05:02 AM
Liquidsteel
Liquidsteel
DanielXP = That Display Picture is discusting and makes me feel sick!
Posted on Saturday 10th November 2007 at 03:34 PM
DanielXP
DanielXP
Yer its good format.
Posted on Saturday 10th November 2007 at 12:01 PM
Enros
Enros
I dont use that point system sorry :{
Posted on Saturday 10th November 2007 at 08:38 AM
Liquidsteel
Liquidsteel
Comments?