Re: Travelling up the TAXA tree, child to parent
| From: | Richard Quadling | Date: | Thu, 15 Jul 2010 07:47:43 +0000 |
| Subject: | Re: Travelling up the TAXA tree, child to parent | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-30218@lists.php.net to get a copy of this message | ||
$_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.