WebmasterSite.net
PHP scripts to enable your creativity
Home
Web Scripts
WSN Links
WSN Gallery
WSN Knowledge Base
WSN Forum
WSN Classifieds
WSN Directory
WSN AdUnblocker
WSN FormEmail
WSN InstaChat
WSN Redirector
WSN Webcomic
WSN Guest
Reviews
WSN For WordPress
WSN For Web Designers
Webmaster Resource Links
Register
Log In
Username
Password
Login
Forgot your password?
WSN Support Forums
Paid Scripts Support
Dividing Template Variable Values
Dividing Template Variable Values
Is it possible?
Details
Discussion
3
Print
Comments on Dividing Template Variable Values
•
piskedi
Member
Usergroup:
Member
Joined:
Oct 17, 2004
Total Topics:
13
Total Comments:
44
•
piskedi
#1 -
Quote
-
Permalink
Posted Dec 20, 2004 - 10:57 AM:
Is it possible to divide two template variable values into each other?
For example, how can I divide {TOTALHITS} into {TOTALLINKS}, to get an average hit value for the whole directory?
•
Paul
developer
Usergroup:
Administrator
Joined:
Dec 20, 2001
Location:
Diamond Springs, California
Total Topics:
61
Total Comments:
7868
•
Paul
#2 -
Quote
-
Permalink
Posted Dec 21, 2004 - 6:57 AM:
Use PHP in the template:
•
piskedi
Member
Usergroup:
Member
Joined:
Oct 17, 2004
Total Topics:
13
Total Comments:
44
•
piskedi
#3 -
Quote
-
Permalink
Posted Dec 21, 2004 - 10:16 AM:
Thank you Paul, that was really helpful..
Search thread for
Go ►
Download thread as
text
HTML
Go ►
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Dividing Template Variable Values
Member
Usergroup: Member
Joined: Oct 17, 2004
Total Topics: 13
Total Comments: 44
Is it possible to divide two template variable values into each other?
For example, how can I divide {TOTALHITS} into {TOTALLINKS}, to get an average hit value for the whole directory?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Use PHP in the template:
Member
Usergroup: Member
Joined: Oct 17, 2004
Total Topics: 13
Total Comments: 44
Thank you Paul, that was really helpful..