I have created a search block. It outputs multiple results (names) as links. User can follow the link. How can I pass the user name into $_SESSION variable?
I tried doing this, the result shows a page not found error.
'name' => l(t($n['name']), 'edit_details' ,array('query' => array('uid' => $n['uid'])))
hook_menu() I set
array(). I passed the value into the session with
$_SESSION['id'] = $_GET['uid'];.