WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Dividing Template Variable Values
Is it possible?

Version:
printPrint


Dividing Template Variable Values
piskedi
Member

Usergroup: Member
Joined: Oct 17, 2004
Total Topics: 13
Total Posts: 44
Posted 12/20/04 - 10:57 AM:
quote post
#1
Is it possible to divide two template variable values into each other?
For example, how can I divide 955474 into 3744, to get an average hit value for the whole directory?

Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6339
Posted 12/21/04 - 06:57 AM:
quote post
#2
Use PHP in the template:

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
piskedi
Member

Usergroup: Member
Joined: Oct 17, 2004
Total Topics: 13
Total Posts: 44
Posted 12/21/04 - 10:16 AM:
quote post
#3
Thank you Paul, that was really helpful..
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.