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:

if (empty($_SESSION['count'])) {
$_SESSION['count'] = 1;
} else {

<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" />
I managed to get the ID to send in a link to the other page.

But on the next page, when I write:
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.