i count my tones in my ringtones with this
<?php
if(strlen($site_rtttl)>$site_check) {
?>
Site check contains the value (ex. 220)
but this check the caracters and i need to get the tones
This is whats inputted (an example rtttl)
Dearm:d=16, o=5, b=90:4a, 8g, f, 4p, 8p, 4a, 8a#, 8a, 8g, 8f, 8g, 8a, 8p, 4a, 8g, f, 4p, 8p, 4a, 8a#, 8a, 8g, 8f, 8g, 8a, 8p, 4a, 8g, f, 4p, 8p, 4a, 8a#, 8a, 8g, 8f, g,
Dearm = name
d= duration
o= something LOL
b= speed
then each tone is seperated bij ,
How do i count starting at : and then 1 count is from , to ,
??