I am trying to format my array into something like this: name is John, age is 30
. Here is my sample array and code:
$user = array(
name => John ,
age => 35
);
echo key($user)." is ".($user[key($user)]).","; // prints "name is John,"
如果要删除成果,则将采用“日志”栏。
I am bad at logic but can you help me for this? It will be a great help! Thanks in advance.