<?php $string = "1000 - 2000"; sscanf($string, '%d - %d', $price1, $price2); echo "£$price1 - £$price2";
You have javascript disabled. You will not be able to edit any code.