create table - How to allow members to view their personal referrals in php -
i trying create referral list/table in php every member can see referred. 2 columns display are: name , email. this code counts each members' personal referrals fine. i'm showing see if can branch off or not <? } } function middle() { include "config.php"; $id=$_session['username_session']; $rs = mysql_query("select * users username='$id'"); $arr=mysql_fetch_array($rs); $email=$arr[7]; $username=$arr[8]; $password=$arr[9]; $name=$arr[1]; ?> of today, have <b><font size="3"><? $rs1=mysql_query("select * users ref_by='$username'"); echo mysql_num_rows($rs1);?></b></font> personal referrals.</font> this code having trouble in creating table/list of personal referrals per member. said above, code calls members in system not want. want personal referrals per member. maybe code can edited differently work, or use above code make work. im not sure.. help appreci