Since I'm a newbie, I might be doing a lot of bad steps and with that making mistakes that I just can't figure out. The first sets up the uid, pwd. A second one sets the fname. The lines below were created by the following code:
session_start();
if (isset($_POST['fname']))
{
$uid = $_POST['uid']; # $uid contains "myname"
$pwd = $_POST['pwd']; # $pwd contains "myapss"
$fname = $_POST['fname']; # $fname contains "john doe" as expected...
echo $uid.$pwd.$fname; # This echo confirms that the variavbles were received (debugging only)
$_SESSION = $uid; #------------------
}
else
whatever
This is where I'm having trouble: I set up the < href= as follows : (the "a" was removed from this post as it it reserved word).
$hrefed = ('< href="edit_user.php?');
$hrefed .= ("{id='$uid' ,");
$hrefed .= ("pwd='$pwd' ,");
$hrefed .= ("fname='$fname'}");
$hrefed .= ('">Edit Selected Info</a>');
and it translates to:
< href="edit_user.php?{id='myname' ,pwd='mypass' ,fname='john doe'}">Edit Selected Info</a>
When clicking on the link created to pass control to another program I get the message that no variables were Posted. Can someone give me some idea what is the correct way to set up the call parameters to the other page
Thank You and have a nice Thanksgiving.