$videoskey_list = explode(',',$result[$x]["videos_key"]);
$videosname_list = explode(',',$result[$x]["videos_name"]);
foreach($videoskey_list as $videoskey => $videos_key && $videosname_list as $videosname => $videos_name)
{
echo ' <button id="playtrailer" class="playtrailer" data-src="'.$videos_key.'"> '.$videos_name.' </button>';
}我如何使用&在前面。应该管用,对吧?或者PHP不支持&在前瞻?
错误
解析错误:语法错误,意外的‘&’(T_BOOLEAN_AND),
发布于 2017-06-29 05:09:18
$videos_list = array_combine($videoskey_list, $videosname_list);
foreach($videos_list as $key => $name) {
// ...
}https://stackoverflow.com/questions/44816740
复制相似问题