|
|
|
|
|
include ("gallery_connectiondb.php");
$id = $_REQUEST['id'];
$sql = "select * from tbl_gallery where id = $id";
$result = mysql_query($sql);
$rs = mysql_fetch_array($result);
?>
|
|
|
|
echo $rs[title]; ?> |
|
|
|
|
|
Date : echo $rs[date]; ?> |
|
|
|
|
|
echo $rs[details]; ?> |
|
|
|
|
|
|
|
|
$str = "select * from tbl_gallery_file where gallery_id=$id order by type DESC";
$result_show = mysql_query($str);
while($rs_show = mysql_fetch_array($result_show)){
if($rs_show[type]==1){
echo "";
echo "
";
}else if($rs_show[type]==0){
echo "Download : $rs_show[title]";
echo "
";
}
}
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|