On 7/27/07, Brent Eades <beades at almonte.com> wrote: > Its purpose is to add the number of listings for a given class of > property ('home', farm', etc) to the main navigation. But as you'll see > if you look at the above code, I've had to write a separate function for > each property class. ... > I guess this all sounds kind of vague and cryptic. But if some PHP guru > would care to look at the above script and offer suggestions, I'd be > most grateful. Is there a specific problem you are seeing? If it is working as you expect and you are not experiencing performance issues, then I would not spend time on improving/optimizing it. -- Matt Warden Cincinnati, OH, USA http://mattwarden.com This email proudly and graciously contributes to entropy.