How to PHP For cycle letter Amurz and output AA,AB,AC when more than 26 letters
This article mainly introduces "how to PHP For cycle letter Amurz and output AA,AB,AC when more than 26 letters". In daily operation, it is believed that many people have doubts about how to perpetuate PHP For cycle letter Amurz and output AA,AB,AC when more than 26 letters. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the question of "how to PHP For cycle letter Amurz and output AA,AB,AC when more than 26 letters"! Next, please follow the editor to study!
Php loop outputs 26 uppercase and lowercase letters
For ($iTun65 / intval / 1) {$y = intval ($y); echo chr ($y / 64); echo chr ($i-$y*26 + 65);} else {echo chr ($iTun65);} echo "\ r\ n";}
This is done, which is really good after testing, and the principle is to return characters from the specified ASCII value through the chr () function of php.
At this point, the study on "how to PHP For cycle letter Amurz and output AA,AB,AC when more than 26 letters" is over. I hope I can solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!