The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Printing Data In a Loop
Hey, I need some help. How would I go about printing data using a loop from a certain table? I think Mewtwo's Itemshop uses it, as an example.
Say this is my table structure: ID(Primary Key) | name | image 1 | archer | archer.gif 2 | archmage | archmage.gif 3 | assasin | assasin.gif How would I print that data in a loop? Then get it to display all the info? Any help would be appreciated. :dead: |
#2
|
||||
|
||||
PHP Code:
|
#3
|
||||
|
||||
Thanks mr e! You seem to always be the solution to people's problems.
|
#4
|
||||
|
||||
lol no problem
|
#5
|
|||
|
|||
Just remember not to query in a loop. A few hacks do that and their authors should be smacked
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|