session value space added
Hi Ray
I am creating a session
<?php echo($_GET['UserID']); ?>
based on the url such as this:
/admin_cms/customer_update.php?UserID=15
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
/admin_cms/customer_update.php?UserID= 15
what am I doing wrong for that to be happening?
Cheers
J