RE: [PHP] Subcategories in php

2003-09-24 Thread Ralph Guzman
This article explains four methods for doing this: http://www.evolt.org/article/Four_ways_to_work_with_hierarchical_data/17 /4047/index.html -Original Message- From: phpu [mailto:[EMAIL PROTECTED] Sent: Saturday, September 20, 2003 7:41 AM To: [EMAIL PROTECTED] Subject: [PHP] Subcatego

RE: [PHP] Subcategories in php

2003-09-22 Thread Chris W. Parker
phpu on Saturday, September 20, 2003 7:41 AM said: > I have been trying to do this for weeks but i just cant figure this > out. I have categories that have subcategories and i want to insert > them into database. If you need more than two levels of classification I

Re: [PHP] Subcategories in php

2003-09-20 Thread Larry E . Ullman
I have been trying to do this for weeks but i just cant figure this out. I have categories that have subcategories and i want to insert them into database. My table looks like this: cat_id, parent_id and cat_name. Let's say i wanna insert a subcategory that is associated with its parent categor

RE: [PHP] Subcategories in php

2003-09-20 Thread Greg Donald
> I don't know how to create the script that inserts any > subcategory(in this case let's say ItsSubCat 3) in its parent > category. > Please, can someone help me I'd use the parent category id as a hidden field in the form when adding a sub category. Here is a complete script that contains a