The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Query Results for() while()
Hi, I'm trying to sort through the data to display 1 team at a time (while gathering tons of other information).
I need to get fc_team.managerid, fc_team.id, fc_team.playerid, fc_player_stats.score, fc_playerownership.playerid, fc_playerownership.roleid. Table relations: fc_team.id=fc_playerownership.teamid fc_player_stats.playerid=fc_playerownership.player id Field Info: Each player in a given team will either have a roleid of 1-27, so for each team, there should be 27 players/results. So basically I need to PHP Code:
So how should I do this? I tried using for() but that didn't help much, because I don't know how many rows to set the maximum (depends on the # of results from the query) the score selection messes this up, because it selects every player. I know I have to use while() on the array, and for() afterwards, but I'm pretty stuck, so any help would be appreciated. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|