1
Hello I need to remove a letter from the alphabet only with FOR.
I’m going through the alphabet from A to Z, but I need to get the letter Y
<?php
for($letra = ord("A"); $letra <= ord('Z'); $letra++)
{
echo chr($letra).",";
}
?>
Expected result:
A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Z,
But so far I couldn’t get it out by staying
A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,
It worked, right!
– rafaeloliveira