本文介绍了如何显示为表格格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 大家好, 我在php中有数组值: 结果如下: 数组([0] =>数组([product_id] => 1 [名称] =>键盘[描述] = >测试[价格] => 52)) 我想显示为上述结果的表格形式? 如何使用php显示如下格式? ------------ ---------------------------------- 产品ID |名字|描述|价格| ---------------------------------------- ------ 1 |键盘|测试| 52 | ---------------------------------------- ------ 提前感谢........ 解决方案 在此处发布之前,请使用谷歌搜索答案。这个 [ LINK ]将为您提供答案问题 hi all,I have array values in php:result as below:Array ( [0] => Array ( [product_id] => 1 [name] => Key board [description] => Test [price] => 52 ) )I want to display as table formate of above result?how can I display as below formate using php?----------------------------------------------product id | name | description | price |----------------------------------------------1 | Key board | Test | 52 |----------------------------------------------thanks in advance........ 解决方案 Use google to search the answer before posting it here. This [LINK] will provide you the answer for your question. 这篇关于如何显示为表格格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!