Join 300,439 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 1,491 people online right now. Registration is fast and FREE... Join Now!
here in sample section i want to design something like this can anyone give some guidelines i am totally new to js and i am good at php i have started with js a few days back any help would be gr8ly appreciated thanx in advance
yes want to make mine and that to with some php functions i have the script with html and js but i want to make the contents dynamic i mean it can be taken from database for main and sub menus any suggessions??
yes that's truly critical to decide i have reached till, parent entries display and onclick parent child entry display but struggling with a parent entry within parent yes, and confused how to store such entries in database i have one parent table and the other child table which carries chald name and parent_id for that child but what shud i do for those links which exists under parent but have their child entries too i have structure something like
i want to manage for --subchild 31 --subchild 32 these entries which are child entries for child 3 how can i store these in database and how to access them back?
i am confused, plz guide me
This post has been edited by gotstuck: 31 Mar, 2006 - 04:42 AM
not actually but i will edit my earlier post and post the whole code so that it can be run at a time in whole, by just copy n paste gimme some time for that thanx
i have fixed it. i need to submit it by dayend, so i was behind it madly and now i have the output chk out, i have modified my earlier post, and it's same as what i have now(my code) thanx for ur help if u have time, just go through code and let me know, in case u find anything that need to be done more on this i am greedy for good code so i hope i will get some tips here, lke i got earlier thanx again
This post has been edited by gayatri: 4 Apr, 2006 - 05:10 AM
You said earlier that you were using two tables to hold the child and parent relationships in your table????
There is much better technique, developed by Joe Celko, which is called nested sets and uses only one table for any number of child relationships. Only a single line SQL query is needed to retieve any of the tree relationships or statistics. A full explanation can be found at MySQL, or in Joe Celko's Book, Trees and Hierarchies in SQL for Smarties.
well, i have fixed it chk out for the code i have modified it
Hey Gayatri, Can you please help me out in determining the parents and childs in the tree structure. How to know about these and how to insert these values into the database.
well, i have fixed it chk out for the code i have modified it
Hey Gayatri, Can you please help me out in determining the parents and childs in the tree structure. How to know about these and how to insert these values into the database.
It would be really helpful
Thanks and Regards, Dream2rule
Hi
THis is enumula...
can you please send me total code for tree stryture using php...
Can any body please help me to do indexing of parent-child Hierarchy like 1 2 3 3.1 3.1.1 3.1.1.1 3.1.1.1.1 3.2 3.3 4 5 6 6.1 6.2 6.2.1 6.2.1.1 etc.etc.tec........... etc.etc.tec............
Thanks.
This post has been edited by brijesh_mca: 4 Jul, 2009 - 12:14 AM