Webmastersite.net
Register Log In

Counting links with certain field value
logistic problem

Comments on Counting links with certain field value

Jenny
Forum Regular

Usergroup: Customer
Joined: May 11, 2003

Total Topics: 64
Total Comments: 199
Jenny
Posted Apr 09, 2006 - 4:33 PM:

Okay, I can't get my head around this:

To make explaining easier, assume that we are dealing with the 'title' field. In my directory many links have the same title, and on one page I would like to display how many pages with the same title there are, like "title 1" (xx times), "title 2" (xx times). Is there any way to easily display that with available variables?

I know I could do this with PHP/mySQL code, but I don't even wanna think about the mess when that code has to be processed 300 times smiling face
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 10, 2006 - 3:03 AM:

The only way to determine that is a query, and so you'd have to add a field and go through the spots where links are added or their titles could be changed (just the add and update functions of the class should do it actually) and put in the query to update that field with the proper value.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.