ho fatto un echo ma nn rialscia nulla
if (isset($id_user) && isset($offset)) { echo $id_user; echo "<br>"; echo $offset;}
...
<?php
session_start();
?>
<html>
<head>
<body bgcolor="black">
<p align="center">
<title>Step1foto</title>
</head>
<body onLoad="setTimeout('document.step1.submit();', 3000);">
<form name="step1" action="step1.php" method="get">
<?php
if (isset($id_user) && isset($offset)) { echo $id_user; echo "<br>"; echo $offset;}
$nr_immagine = ($id_user - 1) * 10 + 1 + $offset;
$image_src = $directory . "image" . $nr_immagine . ".jpg";
echo "<img src="$image_src">";
if($offset < 50) {
$offset++;
echo "<a href="pagina.php?offset=$offset">Avanti</a>";
} else {
echo "Test completato!";
}
?>
<?php
$_SESSION['id_user'] = $_GET['id_user'];
$_SESSION['user'] = $_GET['user'];
$_SESSION['gender'] = $_GET['gender'];
$_SESSION['year'] = $_GET['year'];
$_SESSION['month'] = $_GET['month'];
$_SESSION['day'] = $_GET['day'];
$_SESSION['country'] = $_GET['country'];
?>
</body>
</html>
dove devo correggere?