<?php $string = 'sagar.surendra.desai'; $exp = explode('.', $string); print_r($exp); print_r(array('sagar' => array('surendra' => array('desai'))));
You have javascript disabled. You will not be able to edit any code.