";   } else{ echo ""; }     ?>     Philsocial          
 
 
 
 
 
setQuery("SELECT * from comments where comment_id=".$_SESSION['member_id']." ORDER BY created DESC"); $cur = $mydb->loadResultList();   echo '
'; echo ''; echo '';   foreach ($cur as $comm){ $mydb->setQuery("SELECT * FROM photos WHERE `member_id`='{$_SESSION['member_id']}'"); $propic = $mydb->loadResultList(); if ($mydb->affected_rows()== 0){ echo '';   } foreach ($propic as $obj){ echo ''; } echo '';   echo ''; echo ''; echo '';   } echo '
'; echo ''; echo '
'.$comm->author.''; echo '
'.$comm->content.'
'; ?>  
 
       
 
Untitled