This class can be used to retrieve child elements from MySQL parent records.
It can query a MySQL table that has records of items that have parent records.
The class can return all children items of a given parent record.
| |
Screenshots |
|
|
| There are not enough user ratings to display for this class. |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|
| File |
Role |
Description |
example.php |
Example |
Example, ParentChild class to populate a tree/list of items based on the parent child relationships among them with unlimited level of hierarchy. The test database schema with some test data are also given at the bottom of this file as well as in another file with the package called "test_database.sql". Any one of them can be used to test the code. |
ParentChild.php |
Class |
This is the main class file made for populating a tree/list of items based on the parent child relationships among them with unlimited level of hierarchy . |
test_database.sql |
Data |
The test database schema with some test data are given in this file, as well as at the bottom of "example.php" file. Any one of them can be used to test the code. |