I have an array:
$anees = array(\'Peshawar\', \'Swat\', \'Lahore\');
I want to get the index for a given value (i.e. 0 for Peshawar and 1 Swat an