Thanks for the help looks like i got everything sorta working better I think I have an issue with the delivery part when its free. This is what I got done on it.
preg_match("/(\d+(\.\d+)?)/", $_POST['size'], $size);
preg_match("/(\d+(\.\d+)?)/", $_POST['topping'], $topping);
preg_match("/(\d+(\.\d+)?)/", $_POST['delivery'], $delivery);
$calcprice = (( $size[0] + $topping[0] ) * $_POST['quantity'] ) + $delivery[0];
UPDATE: So i found out its taking the first number in the sting and converting it into the number so it takes the "6" from the 6-8 weeks - Free. Think i have to write six to eight weeks - $0.00 to get the right number.
[attachment deleted by admin]