super bonanza

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>”; } $date=date(“Y-m-01”,time()) ; $tomorrow=date(“Y-m-31″,time()); $sql3=”select count(*) from user where sponsor=”.$val.” AND `date` BETWEEN ‘$date’ AND ‘$tomorrow’”; $rs3=mysql_query($sql3)or die(“Error in query-251”); $l3count=0;… Continue Reading