hi im looking for a MPTT (modified pre-order tree trasversal) script or a function class in php to help me retrieve a tree menu from mysql database. i was wondering if you can help me with the

for example:
wallpapers
  -animals
    -cats
     -lions
  -birds

screensavers
  -fish
    -sharks
  -water
    -beaches
    -ocean  
categories
  -subcategory
    -subsubcategory    
thanks