i have a mysql_query that uses union to work with two querys at the same time, like that:
$friends_a = mysql_query("(SELECT * FROM users WHERE id!='$user_q[id]' AND id='$friends_1_q[user_one_id]') UNION ALL (SELECT * FROM users WHERE id!='$user_q[id]' AND id='$friends_1_q[user_two_id]')");`
and i want to limit this (the two querys at a only limit), what would i do? (i already tried a lot of things that i've found on internet or here). sorry for bad english :D