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

Register | Forgot Password

Can I total a custom field?

Version:
printPrint


Can I total a custom field?
wizard
Member

Usergroup: Customer
Joined: Jan 15, 2005
Total Topics: 7
Total Posts: 20
Posted 02/23/05 - 05:38 PM:
quote post
#1
If I have a custom link field and would like to show a total for all links that have a value for this field how would I do this? It is a numeric field

ie link1 has value for custom field of 20
link2 has value for custom field of 10
link3 has value for custom field of 0
link4 has value for custom field of 5


custom field total 35

how could I get the total to show

I havent been able to find an answer in knowledgebase
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5926
Posted 02/24/05 - 09:03 PM:
quote post
#2
That depends on what the links are. How is it supposed to know which values you want totaled? All of them on your whole site? A category? A page from a category? A toplist?

Anyhow, any solution for this probably wouldn't be scalable -- I expect it'd become very slow with large numbers of links.

"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
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.