I have a below statement:
print_r($dates);
Giving output:
Array ( [0] => Fri, Jan 25 [1] => Sat, Jan 26 [2] => Sun, Jan 27)
I would like to print the date separately. I know the method of explode, but is there any other method to separate out my date (Fri,Jan25) separately each date.
If you do not want to use functions then just
echoit :OR
use
foreach loop: