if(!empty($arrq)) { foreach($arrq as $val) { $sql="select * from user where sponsor=".$val; $rs=mysql_query($sql); while($row=mysql_fetch_array($rs)) { $arrq2[]=$row['dmecode']; $arr_dataq2[]="<tr align='center' class='normal'><td></td><td>".$row['dmecode']."</td><td>".$row['fname']."</td><td>".$val."</td><td>".$row['placement_type']."</td></tr>"; }…
Are you wondering what PHP can do for you? No wonder. You must get hold of the importance of PHP…