The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
A messed up problem
Ok lets say "game_1" is a column in "tablea"
"tableb" is where the name of the game is. The gameid is 1 and that is how it will find the name of the game. How do I get game_1 to 1. |
#2
|
||||
|
||||
You just confused me totally. You're trying to join the tables though right?
|
#3
|
||||
|
||||
[sql]SELECT *.tablea,*.tableb FROM tablea
LEFT JOIN tableb USING (gameid);[/sql] |
#4
|
||||
|
||||
I also need to get game_ seprated from 1.
It runs like profile feilds. It add game_(id) into the tables where the data goes and not the title and stuff. I'm trying to say if game_1 get $gameid['1'] or if game_2 get $gameid['2'] Like I said I want game_ droped but the number left behind. EDIT: Added to pics also trying to help explain. |
#5
|
||||
|
||||
And rember these can't be hard coded in thats why I need a code say game_# = #
|
#6
|
||||
|
||||
Got it after looking at so much stuff trying to figure it out.
PHP Code:
PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|