Are you using post or get to pass from page to page?
If you have page named mypage.php with this script:
<?php
echo "my name is $myname"
?>
and you call it as mypage.php?myname=Sam+Fullman
.. it should show correctly.
If it doesn't show, you probably have globals turned off, in which case use:
<?php
echo "my name is ". $_GET[myname]";
?>
New install of php, globals is off by default.
HTH
Sam