【发布时间】:2013-02-26 00:13:05
【问题描述】:
如何在 for 循环中从数据库中检索多行?我的购物车页面中有for($i=0;$i<=$max;$i++) 循环为size query because of for loop repeating only one row ? 创建了问题,即使我在数据库中size column 的行中有两个不同的size Small Or Medium?
i repeated same question because of my problem is still not solved
http://stackoverflow.com/questions/15333897/
what-can-i-do-if-for-loop-repeat-single-row-from-mysql-database
【问题讨论】:
-
显示一些php代码..我们需要查看查询和for循环。
-
你为什么要第二次转发你的问题?
-
@redreggae 什么第二次?
-
@redreggae 你有这个问题的答案吗?
-
@redreggae 现在发生了什么你需要查看查询和 for 循环?
标签: php database shopping-cart shopping