这就是我很久以前想做类似的事情了!= P
$sql = "SELECt image FROM table WHERe cond ORDER BY xxxx DESC LIMIT 5";$result = mysqli_query($db,$sql);while($arraySomething = mysqli_fetch_array($result)){ echo "<img src='php/imgView.php?imgId=".$arraySomething."' />";}
这就是我很久以前想做类似的事情了!= P
$sql = "SELECt image FROM table WHERe cond ORDER BY xxxx DESC LIMIT 5";$result = mysqli_query($db,$sql);while($arraySomething = mysqli_fetch_array($result)){ echo "<img src='php/imgView.php?imgId=".$arraySomething."' />";}