Hi,
Please see below code which I need to understand.

I tried to find information on the php site and the manual and the php book I have but could not find it. Wht does this mean " => "

function emailusers_menu()
{
	$item('admin/emailusers/compose/%')= array(
	'title' => 'Compose a Message',
	'page callback' => 'emailusers_compose',
	'page argument' => array(3), // userid ( from% in the node path)
	'access argument' => array('adminster users'),
	'type' => MENU_CALLBACK,);


}

Cheers,
Vishal Khialani

Hi there,
In an associative array the symbol '=>' indicates a key-value pair, ie:
'key' => 'value', this means that you can access an element of the array with it's named key like: $array will return the value of 'value'

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.