<?php $string = "2,50"; $pieces = explode(",",$string); $a = $pieces[0]; $b = $pieces[1]; echo $a . "\n" . $b;
You have javascript disabled. You will not be able to edit any code.