Okay, here... this will get you going. Load these onto your server, and experiment from there.
Name your starting page "trash.php" and name the result page "trashresult.php"
Later, you can substitute your paypal stuff.
Here's trash.php:
<?php
session_start();
session_register("receiver");
?>
<HTML LANG="en">
<HEAD>
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Untitled</TITLE>
</HEAD>
<BODY>
<form name="myform" action="trashresult.php">
<input type="text" name="receiver" value="blah@blah.com">
<select name="pic" value="Select your image">
<option></option>
<option></option>
<select name="sound" value="Select your sound">
<opton></option>
<option></option>
<textarea name="comments" value="Put comments here"></textarea>
<input type="submit" name="sub" value="Send">
</form>
</BODY>
and here's trashresult.php
<?php
session_start();
?>
<HTML">
<HEAD>
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Untitled</TITLE>
</HEAD>
<BODY>
<?php
print $receiver;
?>
</BODY>
Notice that the things you want carried over onto the other pages, you go:
session_register("nameinquotes") and notice there is no dollarsign "$" for the variable! You can register all the stuff you want...e.g.
<?php
session_start();
session_register("visitor");
session_register("visitorsfavoritecolor");
session_register("mybirthday");
session_register("blahblahblah");
?>
and then, on all the rest of your webpages, just begin them with:
<?php
session_start();
?>
And then you can call all those variables in your pages!
e.g.
<?php
print $mybirthday;
print $visitor;
?>
And, then, later, you will realize that some of your visitors have cookies disabled. This will make you have to turn YOUR cookies off, and see if it still works. If it still works, your server is set up good. If it doesn't work, don't fret. All you have to do is at the end of every single link on your page, hardcode the sessions into your links like this:
Lets say one of your links is:
"come visit my <a href="nextpage.html">page</a>"
You go like this:
"come visit my <a href="nextpage.html?<?php print SID; ?>">page</a>"
in other words, append this on each link:
?<?php print SID; ?>
Have fun.