$EK = echo $_POST['division'];
$_POST['division']; can be:
Division 1 Division 2 Division 3
up to 6 but all I need $EK to = is the number ie
$EK = 1
is there a was to strip the Division?
$EK=substr($EK,9);
<? $EK = echo $_POST['division']; $EK = str_replace("Division ", "", $EK); echo $EK; ?>
Cheers worked perfect
$EK = $_POST['division']; $EK = str_replace("Division ", "", $EK);