I know how to pass one argument to a menu callback
$items['someaddress/%'] = array(
'title' => 'title',
'page callback' => 'some_function',
'page arguments' => 1,
'type' => MENU_CALLBACK
);
I don't understand why the argument being passed is $_POST['nid']
but this works. It corresponds to page argument 1.
function some_function (){
$node = isset($_POST['nid']) ? node_load($_POST['nid']) : FALSE;
}
I'm now trying to pass multiple arguments. $items['someaddress/%/%/%'] = array(
and is looking for a code sample of how I do that.
Thanks!