Not sure if i'm doing this right then because it doesn't seem to be workign right.
I want a random row from either the nash or the BT database where that row has active = 1.
"SELECT * FROM BT,nash where BT.active = '1' ORDER BY RAND() LIMIT 1"
seems to only grab random rows from the nash database. If i do this
"SELECT * FROM BT,nash where nash.active = '1' AND BT.active = '1' ORDER BY RAND() LIMIT 1"
OR
"SELECT * FROM BT,nash where nash.active = '1' OR BT.active = '1' ORDER BY RAND() LIMIT 1"
they both only seem to grab pics for the nash database and not the BT one.