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, result shows page not found error.
'name' => l(t($n['name']),'edit_details',array('query' => array('uid' => $n['uid'])))
in the hook_menu I gave
$items['edit_details/%'] = array();
i have passed the value into session variable using this
$_SESSION['id'] = $_GET['uid'];