I'm having problems with the $_SESSION code.
I can't retrieve the info on the next page.

After looking at the manual (which I think lacks enough examples / explanation) I came to this:

<?php
session_start();
if (empty($_SESSION['count'])) {
$_SESSION['count'] = 1;
} else {
$_SESSION['count']++;
}
?>

<html>
<form enctype="multipart/form-data" method="POST" action="ads.php?<?php echo $_SESSION["count"]; ?>" />
<input type="hidden" name="PHPSESSID" value="<?php echo $_SESSION["count"]; ?>" />
Name:<input type="text" name ="name" /><br />
Book:<input type="text" name ="book" /><br />
Subject:<input type="text" name ="subject" /><br />
Price (CAN):<input type="text" name ="price" /><br />
Description: <br /><textarea cols="40" rows="5" name="description">
</textarea><br />
Click to upload:<input type="file" name="pix" /><br />
<input type="submit" name="Upload" value="Upload Picture" />
</form>
</html>
I managed to get the ID to send in a link to the other page.

But on the next page, when I write:
<?php
echo $_SESSION['PHPDSESSID'];
echo "<b>Name: </b>" . $_SESSION['name'] . "<br />";
?>

How do I retrieve the info from the URL using $_SESSION? Also how do I generate the proper text from $_SESSION using the ID from the link.

I'm open to anything you have in mind.