How do i remove part of a string from a combobox eg Malaria=1 ,to remove =1.
You could split it and use the first array value, if all of your strings have the same format as VALUE=#
<? $string = "Malaria=1"; $array = split("=", $string);
print("$array[0]"); ?>
This prints: Malaria
[ $array[1] would give you "1" ]
-- Jason