Hi :-) Im trying to make one multiple select to get 3 names of 3 different tables... so here is the code:
$q = mysql_query("(SELECT name as c FROM cats WHERE id = '$data[cat]') UNION ALL (SELECT name as y FROM country WHERE id = '$data[country]') UNION ALL (SELECT name as p FROM player WHERE id = '$data[player]');");
$mixed = mysql_fetch_array($q);
and... its work only for the first select: $mixed['c'];
The other... are missing :/
Where is the problem? :(