The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Querying and such.
I know there's a way to do this, but I'm not sure what....
I want to select information from a table in mySQL, only 2 fields in the table, `name`, and `data`, and I want it to repeat a piece of code until there's none left.... Hard to express my idea... [poorexamplephp] global $count (Insert code looping until it's read all of table `query`) $name = (insert way to call the current row's `name`field) $dat = insert way to call the current row's `data`field) echo $name; echo "="; echo $dat; $count ++ (insert end of loop stuff) [/poorexamplephp] A || || That... What should be `insert` 'ed? Also, how would I query 2 out of 3 fields, or only 1? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|