TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Osama Bari
NA
1
1.1k
How to how knwo number of team members? using PHP/MYSQL
Dec 27 2014 2:03 PM
want to know total team members from a table. the calculation formula is: suppose total team is 15 team
Team A
team B=2
team C=2
Team D (those parent is B )=6
Team E those parent is C)=5
and Total Team A=15
Team B=8
Team C=7
how can calculate it.
table structure
uid
uname
uemail
usid
(user parent id)
formula
when user B (uid) Added in this table then parent user A is automatically Added in usid column.
example
maria(uid=5) join via jon(uid=2) then
uid
uname
uemail
usid
5
maria
[email protected]
2
Reply
Answers (
0
)
What i should do to enable link textarea or text box
how read csv or xls an save the file in mysql