| |
|
|
| |
Parent , Child Category
Tree
Next Code
This is a
simple PHP script to generate a Category
Tree structure based on parent/child MySQL
database. Database structure looks like
this:
- category_id
- parent_id
- title
And will generate a structure like this:
Category 1
- Sub Category
- Sub, Sub Category
- Sub Category 2
Category 2
This is much simpler and works very well.
The other code I found on this forum didn't
work at all and was very complicated, so I
wrote an easy script. Just 1 note: It's
meant for a structure that does not have a
root element.
Go
to Homepage
Contact Us
|
|
| |
By Krishna Eydat & Mahmood Bina |
|
Download free PHP codes and scripts, help with
forums, samples and examples of a professional website with PHP
design, you can use Javascript codes and HTML scripts and tangs.
PHP tutorials and lessons step by step, use PHP free script
,script ,source ,code generator ,sample code ,examples ,script
code ,open source, free source ,forms ,code editor ,forum ,array
,function ,website codes ,include ,Web design, webmaster
,protect code , email , PHP forum codes, forum scripts , dynamic
code, PHP helps
|