gracias dec con eso y con un formulario utilizando los campos de tipo hidden ya lo tengo.
codigo
Código PHP:
if (! $next1){
$next1 = 0;
}
if (! $next2){
$next2 =1;
}
include("conexion.php");
$query = mysql_db_query( $db, "SELECT * FROM Peliculas limit $next1,$next2" );
$result = mysql_fetch_array( $query );
echo $result["Cod"] ." ". $result["Pelicula"] ;
$next1 = $next1 + 1;
$next2 = $next2 + 1;
echo "<form action='index.php' method='post'>
<input type='hidden'name='next1' value=$next1>
<input type='hidden'name='next2' value=$next2>
<input type='submit' value='OK'></form>";