Hi say there's an array like this $a = array('as', 'bs', 'ds', 'bs', 'ds', 'bs'); so there r 1 'as' 3 'bs' & 2 'ds' i want to show array result like this: 'as' => 1 'bs' => 3 'ds' => 2 how can i do it plz help....need it urgently plz