|
mysql_connect('200.43.193.76','ip043421_exifab','travelgroup01');
mysql_select_db('ip043421_exi1');
$sql="select * from bannerSitio bs inner join banner b on bs.idBanner=b.idBanner inner join bannerDestino bd on bd.idBanner=b.idBanner where b.idProducto= '1' and bd.idDestino= '8' and bs.idSitio= '169' and b.estado='S' or bs.idSitio= '169' and otro='S' and b.estado='S' ORDER BY RAND() LIMIT 8";
//echo 'alala--------------->' . $sql;
$rsTemp=mysql_query($sql);
while($rs=mysql_fetch_assoc($rsTemp)){
$descripcion=$rs['descripcion'];
$imagenes=$rs['imagen'];
$link=$rs['link'];
$comentario=$rs['comentario'];
//echo 'imagen-->'. $imagenes . ' ';
?>
= $comentario; ?>
}?>
|
|
| |