------解决方案--------------------
$db->Query("list","select * from #@__cp where `pid`=$row[id] order by `id` desc");
$h = 8; //你需要的行数
for($i=0; $i
if($res=$db->GetArray("list")) {
?>
=$res[title]?> |
=$res[gangzhong]?> |
=$res[biaozhun]?> |
=$res[guige]?> |
=$res[weight]?> |
=$res[amount]?> |
=$res[single_price]?> |
=$res[total_price]?> |
=$row[content]?> |
}else {
echo "
|
|
|
|
|
|
|
|
|
|
";
}
}
?>