RE: [PHP-ES] jUno por uno
| From: | Ximena Machicao | Date: | Fri, 29 Mar 2002 01:44:47 +0000 |
| Subject: | RE: [PHP-ES] jUno por uno | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-20884@lists.php.net to get a copy of this message | ||
Gracias Angel pero te cuneto que ya modifique con lo que me explicastepero
sigue sin funcionar.
Mejor les paso mi codigo por favor!!!, yo quiero que cada vez que haga click
en el enlace vaya al asiguiente registro de la consulta?, porfas ayudenme.
Gracias
<html>
<body>
<?
if (! isset($var)) {
$var = 1;}
$link=mysql_connect("localhost","root","root");
mysql_select_db("ceb",$link);
$query="Select * from casa order by cr_des";
$result=mysql_query($query,$link);
mysql_data_seek($result,$var);
$row = mysql_fetch_array($result);
echo "<br>";
echo $row[codigo];
echo $row[cr_des];
echo "<br><br> ";
$siguiente = $var + 1;
echo "<a href='anadir2.php?var=$siguiente>Siguiente registro</a>";
?>
</body>
</html>
donde termina el apóstrofe??? ( ' )
Attachment: [application/ms-tnef] winmail.dat
Attachment: [application/ms-tnef] winmail.dat