<?PHP
$query ="select * from user_settings where user_id ='10'";
$result = mysql_query($query);
$row = mysql_fetch_array($result,MYSQL_ASSOC);
if($row['box1'] == 1){
include "news_box.php";
}
if($row['box2'] == 2){
include "video_box.php";
}
if($row['box3'] == 3){
include "music_box.php";
}
if($row['box4'] == 4){
include "live_box.php";
}
?>
|