try this
<a href="yourpage.php?username=<? echo
$username; ?> > click here for
next page </a>
on the second page just underneath the headers
<?
// if you use the get to send a form
$username=$_get['username'];
// if you use post to send the form
$username=$_post['username'];
echo ('hello : '.$username);
?>
This is a more simple approach to your problem, of passing
varibles
using either the get or post method. no rocket science code.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Professional PHP Developers"
group.
To post to this group, send email to Professional-PHP googlegroups.com
To unsubscribe from this group, send email to
Professional-PHP-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---
|