Php: getting first, second, third element of an array

后端 未结 0 2018
情歌与酒
情歌与酒 2020-12-06 22:36

This works:

$array = array(\'geeks\', \'for\', \'computer\'); 
$element =  $array[1];

But how do I get $which element from an array as in exa

相关标签:
回答
  • 消灭零回复
提交回复
热议问题