Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke
Author Message
aseitz
Regular
Regular



Joined: Mar 08, 2005
Posts: 57
Location: Portland, Oregon USA

PostPosted: Fri Mar 18, 2005 6:18 pm Reply with quote

Raven,

How did you get the Donat-o-meter on this site to do pennies? My meter won't do the math for pennies, but it will (of course) display that a user has donated a penny.

I have tried to find where it does the math but so far, no luck. I am still a total noob in the world of PHP Smile


Last edited by aseitz on Fri Mar 18, 2005 7:36 pm; edited 1 time in total 
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
aseitz







PostPosted: Fri Mar 18, 2005 7:35 pm Reply with quote

Find this line:
$DM_LEFT = sprintf('$%.02f', $row_Recordset2['value'] - $row_Recordset3['net'])

change to:
$DM_LEFT = sprintf('$%.02f', $row_Recordset2['value'] - $row_Recordset1['net'])

Yay!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©