SHARING MY KNOWLEDGE
$letter = "A"; for($i = 1; $i<= 26; $i++) { $letter++; echo $letter; }
This comment has been removed by a blog administrator.
Startvalue of $i should be 0 and not inclluding 26, so to make it right it is like that:for($i = 0; $i<26; $i++)
This comment has been removed by a blog administrator.
ReplyDeleteStartvalue of $i should be 0 and not inclluding 26, so to make it right it is like that:
ReplyDeletefor($i = 0; $i<26; $i++)