Ver Mensaje Individual
  #4 (permalink)  
Antiguo 12/01/2006, 08:04
Avatar de gachon
gachon
 
Fecha de Ingreso: septiembre-2004
Ubicación: En Google
Mensajes: 462
Antigüedad: 19 años, 6 meses
Puntos: 3
Muchas gracias Cluster, si es lo que quiero, paginar sobre "campos" que son 10 campos de fotos que hay en un mismo registro, preguntare a Jpinedo a ver si no es muy dificil, si tu tienes alguna idea mas pues, por favor comentalas, si no intentare otra cosa, aunque es una buena idea.
muchas gracias
este es el codigo del pupup, donde quiero mostrar el paginador:
Cita:
<?php
include("conexion.inc.php");
$link = Conectarse();
$_pagi_sql = " SELECT * FROM formulario WHERE Referencia='".$_GET['Referencia']."'";
$_pagi_result = mysql_query($_pagi_sql) or die("La siguiente consulta contiene algún error:<br>\nSQL: <b>$sql</b>");
include("includes/paginator.inc.php");

while ($row = mysql_fetch_assoc($_pagi_result))

{

echo" <html><head>

<script type=\"text/javascript\">
function launch(){
var ventana = window.self;
ventana.opener = window.self;
ventana.close();
}
</script>
<style type=\"text/css\">

body {
background-image: url(\"imagenes/b2normal.jpg\");
background-position:center;
background-repeat:no-repeat;
}

</style>
</head><body>
<a href=\"javascript:launch()\"><b><font color=\"white\">Cerrar</font><b></a>

";
echo "<table align=\"center\" class=\"tabla\">";

if (($rows=mysql_num_rows($_pagi_result))==0) {
echo "<tr><td>No hay ninguna propiedad.</td></tr></table> ";
} else {

echo"<center><tr><td><font color=\"white\">".$_pagi_navegacion."</font><b></td></tr></center></table></table>";
}


echo"
</p>
<!-- aqui muestro la foto en la linkeado antes a mayor tamaño-->
<td> <img src=\"verfoto1.php?Referencia=".$row['Referencia']." width='480' height='360'\"></td>
</body>
</html>
";
}
?>