<?php $str="http://design/?device_type_id=10"; preg_match_all('/\/\w+\//',$str,$ret); print_r($ret);
You have javascript disabled. You will not be able to edit any code.