View Single Post
  #5  
Old 29th January 2015, 16:45
BamBam0077 BamBam0077 is offline
Banned
 
Join Date: Jul 2013
P2P
Posts: 410
Default
oh, sorry bro misunderstood.

Bump: Safe from SQL injection

Bump: Non Memcache
PHP Code:
    $funds_so_far = (int)$totalfunds_cache["total_funds"];
    
$totalneeded 1000;    //=== set this to your monthly wanted amount
    
$funds_difference $totalneeded $funds_so_far;
    
$Progress_so_far number_format($funds_so_far $totalneeded 1001);
    if(
$Progress_so_far >= 100)
    
$Progress_so_far 100;
then 
Reply With Quote
The Following User Says Thank You to BamBam0077 For This Useful Post:
nicukent (30th January 2015)