Wrox Programmer Forums
|
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 3rd, 2004, 09:26 PM
Authorized User
 
Join Date: May 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to ruhin Send a message via AIM to ruhin Send a message via MSN to ruhin Send a message via Yahoo to ruhin
Default Tree In PHP

I have to make a php program that inserts user by registering and manipulating random pass. Now user next added would be structured like tree. There is a constraint that the tree cannot have the format of 7:1. All other format can be accepted. User logs in and can see other nodes under him. I need this very urgent. Please help me!
 
Old June 5th, 2004, 04:08 PM
Authorized User
 
Join Date: May 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to ruhin Send a message via AIM to ruhin Send a message via MSN to ruhin Send a message via Yahoo to ruhin
Default

I forgot to mention that, all the user ids and other datas would be generated through MySQL tables i.e. its a data huge data driven program.
 
Old June 8th, 2004, 06:05 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Ok, you're not being very specific. What is a format of 7:1? Do you want to be able to show the users currently logged on?

Show us a breif example of what you expect to acheive.

Regards,
Rich

::::::::::::::::::::::::::::::::::::::::::
The Spicy Peanut Project
http://www.spicypeanut.net
::::::::::::::::::::::::::::::::::::::::::
 
Old June 10th, 2004, 04:22 PM
Authorized User
 
Join Date: May 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to ruhin Send a message via AIM to ruhin Send a message via MSN to ruhin Send a message via Yahoo to ruhin
Default

I'm sorry not to make it clear first. It's some sort of that, I need a php prog. that needs user to register and then he is added to be a child node of its parent. Thus if there exists that one parent has 7 node in left or right and 1 in right or left (7:1 or 1:7) then it would be an invalid structure. The program would not count it to be a success. Also when user logsin, he is shown the total nodes(other registered users after him or specified) below him. It is to be used by MySQL interaction. I thought of unique user id and the child nodes to be given the same id to track parant and child. but it has become complecated. PLZ, HELP ME!!
 
Old June 19th, 2004, 06:14 PM
Authorized User
 
Join Date: May 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to ruhin Send a message via AIM to ruhin Send a message via MSN to ruhin Send a message via Yahoo to ruhin
Default

Come'on man.... give me some code for MLM (multi level marketing)....





Similar Threads
Thread Thread Starter Forum Replies Last Post
Tree View mistry_bhavin ASP.NET 1.x and 2.0 Application Design 1 August 3rd, 2005 03:58 PM
PHP Tree menu muralik PHP Databases 1 March 23rd, 2004 09:54 PM
tree view msrnivas .NET Web Services 0 February 23rd, 2004 07:04 AM
array to tree Baldo XSLT 2 November 7th, 2003 01:49 PM
Tree View Natalie Pro VB 6 5 September 23rd, 2003 07:23 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.