<?php $val = "height:30 width:60kg"; sscanf($val,"height:%d width:%dkg",$height,$width); var_dump($height, $width);
You have javascript disabled. You will not be able to edit any code.