This topic is locked

$Username

3/11/2009 6:11:35 PM
PHPRunner General questions
D
djsmithuk author

Hi
on the logon page in the events i can use $Username to do sql querys
now that i have succesfully logged in when i used $Username it cant find this Varable even although its shown in the top right hand corner

i need to do another event on another page where i can define my sql query using a value like $username
can u help?

J
Jane 3/12/2009

Hi,
use $_SESSION["UserID"] instead.