require_once("include/db_bannerhome.php");
$call = new clsBannerHome();
$result = $call->get_bannerhome_list_categoryId(1);
if(mysql_num_rows($result)){
if($result){
$i=0;
while($row = mysql_fetch_array($result))
{
$txt_fileId = $row['fileId'];
$txt_fileTitle = $row['fileTitle'];
$txt_fileDesc = $row['fileDesc'];
$txt_fileActive = $row['fileActive'];
$txt_fileName = $row['fileName'];
$txt_galleryId = $row['galleryId'];
if($row['linkto'] <> "")
{
$txt_linkto = $row['linkto'];
}
else
{
$txt_linkto="#";
}?>
}
}
}
?>