My php code:
$sql = mysql_query("SELECT * FROM users WHERE user_id IN (1,3)");
while($row = mysql_fetch_array($sql)) {
echo $row['name'];
}
It returns as last result set, which is from user_id = 3 and does not include the result of user_id = 1 but when i print_r($row) all the result is there, is there anything amiss?
Thanks
mysql_*functions.