Hi i am wondering is it legal to have a query while fetching another query? Because when I run the following code, it doesn't do anything
eg
while($row = @mysql_fetch_array($result)){
$query2 = "select name from artist where id='$row[id]'";
if(!($result2 = @mysql_query($query2, $conn))){
die("Can't Query");
}
$row2 = @mysql_fetsh_array($result2);
$info.="<td>$row2[name]</td>";
}
Please help
Thanks in advance