The variable $key will contain the key / index of the current item inside the foreach loop. It's that simple! This article was posted in Code, PHP Tutorials.
確定! 回上一頁