Quote:
|
Originally Posted by stormshadow
not like that... what i think your code does is match the member id and the game_items id correct? i could be wrong but that is what i think... but i could be wrong...
|
correct, that's what it does.
Quote:
|
Originally Posted by stormshadow
in the members table there will be something like gympass which would = Y if they have it and N if they dont... now in the game_items table the id would be gympass so i would want to get the column gi.id from the members table get it? its hard to explain....
|
So you would have a table looking like this:
and a table like this:
and in this table2, the value of id could be 'gympass'. Do i understand this correctly?

I don't think this is possible using only 1 query (i might be wrong, i don't know that much about mysql).