Best way to list Alphabetical(A-Z) using PHP

前端 未结 11 2067
迷失自我
迷失自我 2020-12-13 13:33

I need to print/list alphabetical(A-Z) chararcters to manage Excel cells. Is there any PHP function to list alphabetic?

I need result as

A1
B1
C1
D1
..         


        
11条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-13 13:53

    here's my code for HTML using P.H.P code, and it works fine

    for($i = 'a' ; $i <= 'z' ; $i++){
    echo $i. "
    "; }

提交回复
热议问题