For Loop PHP Looping through Alphabets PHP

Using For Loop Looping through Alphabets letters


Using For Loop Looping through letters is possible

for($i = ‘S’; $i != ‘AC’; $i++) {
echo $i.’ ‘;
}

Note: $i <= ‘AC’ it only works with $i != ‘AC’

 Output : S T U V W X Y Z AA AB