The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
MySQL/PHP Variable Question
OK, I'm making my own Itemshop. But I'm not the best coder around and need some help with something simple.
I need multiple things to show up from the same MySQL table column. For example, here's a part of my file: Code:
// select information $shop_id = $DB_site->query("SELECT shop_id FROM itemshops"); $shop_name = $DB_site->query("SELECT shop_name FROM itemshops"); $shop_image = $DB_site->query("SELECT shop_image FROM itemshops"); $shop_rating = $DB_site->query("SELECT shop_rating FROM itemshops"); $shop_profit = $DB_site->query("SELECT shop_profit FROM itemshops"); $shop_total = $DB_site->query("SELECT shop_total FROM itemshops"); Thanks. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|