![]() |
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. |
You just confused me totally. You're trying to join the tables though right?
|
[sql]SELECT *.tablea,*.tableb FROM tablea
LEFT JOIN tableb USING (gameid);[/sql] |
1 Attachment(s)
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. |
1 Attachment(s)
And rember these can't be hard coded in thats why I need a code say game_# = #
|
Got it after looking at so much stuff trying to figure it out.
PHP Code:
PHP Code:
|
All times are GMT. The time now is 11:18 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|