我试图得到这个
for ($r = 1; $r <= 10; $r++) {
if ($shirt_info[$r][0] != "Select One")
{
echo "<div class='shirtinfo'>Order $r: </div>";
echo "<div class='shirtinfo'>Size: ".$shirt_info[$r][0]."</div>";
echo "<div class='shirtinfo'>Price: ".$shirt_info[$r][1]."</div>";
echo "<div class='shirtinfo'>Qty: ".$shirt_info[$r][2]."</div>";
echo "<div class='shirtinfo'>SPE: ".$shirt_info[$r][5]."</div>";
echo "<div class='shirtinfo'>LIA: ".$shirt_info[$r][6]."</div>";
echo "<div class='shirtinfo'>Vendor: ".$shirt_info[$r][7]."</div>";
echo "<div class='shirtinfo'>Style: ".$shirt_info[$r][8]."</div>";
echo "<div class='shirtinfo'>Color: ".$shirt_info[$r][9]."</div>";
echo "<div style='clear:both;'></div>";
}
}
在表格中显示,我不确定如何。我不断收到语法错误。