Hey ,

MYSQL Structure
================

+------------+-------------+--------------+
| type | OGUID | PGUID |
+-----------+--------------+--------------+
| create | 13 | 10 |
+---------- +--------------+--------------+
+-----------+--------------+--------------+
| create | 12 | 10 |
+--------- -+--------------+--------------+
+---------- +---------------+--------------+
| create | 10 | 10 |
+-----------+--------------+--------------+
+------------+---------------+--------------+
| create | 9 | 8 |
+--------------+-------------+--------------+

Can you anybody help to create a php category from above MYSQL structure where OGUID 10 is the parent and others 12 and 13 are childs.