does any one know how to pass the user id to a variable so that the variable contains the number id of the user.
examnle
$userid = $user->id;
after this code user id would contain '35' asumming that was the users id.
is there a global call?
do i need to get this from parameters?