session value space added
I am creating a session
<?php echo($_GET['UserID']); ?>
based on the url such as this:
When I then use the session on another page to go back to the page its set on using something like
customer_update.php?UserID=<?php echo $_SESSION['UserID']; ?>
, for some reason its adding a space in front of the value so it then becomes
what am I doing wrong for that to be happening?