Re: Travelling up the TAXA tree, child to parent

Richard Quadling <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <[email protected]>
$_GET , not $_Get . Case sensitive.

How are you holding your data?

Take a look at http://dev.mysql.com/tech-resources/articles/hierarchical-data.html
and see if there is anything that you can use. Nested data like you
are using would seem to fit very well into this model.

So, for getting a single path from a leaf (no pun intended) is
entirely possible in a single statement. No need to have a loop.

Richard.

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.