[
{
"youname": "a",
"youemail": "xyz@gmail.com",
"studies": "elementary school",
"civilstate": "single"
},
{
"youname": "b",
"youemail": "abcd@gmail.com",
"studies": "secondary school",
"civilstate": "single"
}
]
这是我的 .json 文件..!我正在解码它和 json_decode 并将其转换为数组格式,如下所示..
Array ( [0] => Array ( [youname] => a [youemail] => xyz@gmail.com [studies] => elementary school [civilstate] => single )
[1] => Array ( [youname] => b [youemail] => abcd@gmail.com[studies] => secondary school [civilstate] => single ))
有人可以告诉我如何使用 PHP 在下拉列表中获取“Youemail”。