I have a home page that is set up to where you can add and take away sections. The only problem i am not really sure how that i am going to display that information right now it looks like this
<?php
$indexPage=$db->select("SELECT *
FROM ".$glob['dbprefix']."myHome h
WHERE customer_id=".$ccUserData[0]['customer_id']."
ORDER BY portal_id"
);
for($i=0;$i<count($indexPage);$i++){
if($indexPage[$i]['portal_id']==1){
echo "#1 Success"
}
if($indexPage[$i]['portal_id']==2){
echo "#2 Success"
}
if($indexPage[$i]['portal_id']==3){
echo "#3 Success"
}
if($indexPage[$i]['portal_id']==4){
echo "#4 Success"
}
}
?>
and the only one that comes up is #1 Success (but all of teh portal ids are turned on in the db...)