Hi,
i need to break a string for example
$d="ab,cd,ef";
$temp = explode(',', $d);
$d1=$temp[0];
$d2=$temp[1];
$d3=$temp[2];
Yes it work nice but if i get dynamic values of string $d then?
A idea here to get total number of "," and then use for loop to get all string parts but how we get total number of "," ?