Código PHP:
Ver original<?php
$filtro='';
$tipo=$_POST['tipo'];
$gestion=$_POST['gestion'];
$preciomin=$_POST['minimo'];
$preciomax=$_POST['maximo'];
$localidad=$_POST['localidad'];
//$result = mysql_query("SELECT tipo,localidad FROM inmuebles", $link);
//$result = mysql_query("SELECT * FROM inmuebles WHERE tipo='$tipo'", $link);
$result = mysql_query("SELECT * FROM inmuebles WHERE $filtro", $link);
// CODIGO PARA BUSCAR SI HAY UN ERROR EN LA CONSULTA
$error = mysql_error($link); // $link es la variable de conexión
if ($error!=null)
{
print("Ocurrio; el Siguiente Error:\n ".$error);
}
// FIN DE LA BUSQUEDA DE ERROR
echo '<table align="center" border="0" cellpadding="5px" cellspacing="0" width="500">';
$contador =1;
$num_col=3;
echo "<tr>";
$trans=array("ñ"=>"ñ"); //funcion para poder mostrar las ñ que en mysql son ñ $row[4]=strtr($row[4],$trans); $row[6]=strtr($row[6],$trans); echo '<td align="left">';
?>
Código HTML:
Ver original<a href="javascript:ajaxpage('slimbox2/example.html', 'menu-der');"><?php echo "<img src='$row[5]'></img>";?>
</a>
Este seria el codigo de mi index.php y en este ultimo enlace me gustaria llamar a la pagina que contiene el efecto slimbox....
En este enlace esta otro efecto slimbox parecido al que he puesto... es lo mismo practicamente...
http://www.digitalia.be/software/slimbox2