Posted by gosha bine on 08/01/07 08:14
On 01.08.2007 07:25 Neeper wrote:
> I'm not sure what you mean by items not being part of the tree. Could
> you give me an example of how I would do this.
>
Sure
+--------------+-----+------+------------------------------+
| id | lft | rgt | name |
+--------------+-----+------+------------------------------+
| 1 | 1 | 22 | Categories |
| 2 | 2 | 9 | Automotive |
| 3 | 3 | 8 | Cars |
| 4 | 4 | 5 | 2005 Honda Civic |
| 5 | 6 | 7 | Ford Mondeo |
PS. Please do not top-post. Write your reply below the quoted text.
--
gosha bine
makrell ~ http://www.tagarga.com/blok/makrell
php done right ;) http://code.google.com/p/pihipi
Navigation:
[Reply to this message]
|