Search found 4 matches
- Fri Jan 30, 2009 3:47 am
- Forum: PHP - Code
- Topic: How to get all parents in a hierarchical category structure?
- Replies: 6
- Views: 154
Re: How to get all parents in a hierarchical category structure?
I'm getting no output from the error reporting. Do you think the actual function itself looks correct? I wasn't sure if I'd need another query within the "foreach" loop.
- Fri Jan 30, 2009 3:09 am
- Forum: PHP - Code
- Topic: How to get all parents in a hierarchical category structure?
- Replies: 6
- Views: 154
Re: How to get all parents in a hierarchical category structure?
eek... I don't think I have an error log. How do I go about creating one?
- Fri Jan 30, 2009 2:55 am
- Forum: PHP - Code
- Topic: How to get all parents in a hierarchical category structure?
- Replies: 6
- Views: 154
Re: How to get all parents in a hierarchical category structure?
Hi, thanks for your reply.
I've added the backticks as recommended and it's now only outputting the current category (ie, Scotland).
I've added the backticks as recommended and it's now only outputting the current category (ie, Scotland).
- Fri Jan 30, 2009 2:34 am
- Forum: PHP - Code
- Topic: How to get all parents in a hierarchical category structure?
- Replies: 6
- Views: 154
How to get all parents in a hierarchical category structure?
Hi, I'm trying to build a breadcrumb trail which displays all parents to any particular category. For example; Fieldwork Suppliers - United Kingdom - Scotland - Glasgow Each category is stored in the database with a name, id and parent. I'm using the following to call the function; $pageTitle = getC...