>It breaks apart when I try to go on the third level.

On the second iteration of $secpageArray, it fetches Row4 from the database. 
Because there is no Page_Above that equals 4 (that is, no child of Page 4 in 
your map), the level 3 query might be coming back as False (no records 
returned), which might be triggering the die() function. This might be the 
cause were it not for the fact that...

You are using the variable $result as the reference object for all three 
queries. Once the third level uses $result, you've lost the reference to the 
second level query's recordset.

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to