The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Query Help
I posted this on VB.com, but really need help, so I'm posting it here too.
I want to run a MySQL query to set up a new variable. The variable will contain multiple forum ids separated by commas. I'm pretty new to all of the coding stuff, so here is how the variable will be stored. Code:
$topx_omit=$DB->query_first("select * from ".TABLE_PREFIX."topx_options where oid='1'"); I need to make both the table topx_options and the variable $topx_omit. Like I stated before, the variable must be able to hold multiple forum ids spearated by commas, so that I can recall the forum ids in another step. I can use either phpMyAdmin, or the VB SQL query option. How would I create this stuff? Edit : what does oid mean, and what does oid='1' do? |
#2
|
||||
|
||||
Man, I don't understand anything
Which table do you want to query? If it is not a standard table of vBulletin: Could you please post its schema? What should the query return? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|