How to count comma separated GSM numbers in a php string

Hello,
I have this string below
08060499450,08075922830,08044818575,09088776767,08073636377
I want to count and echo how many GSM numbers are in this string
The example string above should echo 5
Thanks

echo count(explode(',', $string));
1 Like
Sponsor our Newsletter | Privacy Policy | Terms of Service