------解决方案-------------------- foreach (array_slice($history, 0, 8) as $val)
------解决方案-------------------- if ($history){ foreach (array_slice($history, 0, 8) as $val){ echo "".$val[3]." "; } }else{ echo "
暂无记录
"; }
------解决方案--------------------
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn