0
複数の行を印刷し、各行に複数の数値を入力する必要があります。td
... 3の後にtr
を追加する必要があります。phpとsqlの値で表を印刷する
echo '<table>';
for($counter=0; $counter <= $row2 = mysql_num_rows($result2);counter++) {
print("<tr>");
while($row2 = mysql_fetch_array($result2)) {
$_name = $row2["_name"];
$_image = $row2["_image"];
print("<td valign='top' width='230px' height='148px'>");
print("<p class='p_imageStyle'>$_name</p>");
print("<img class='custom' alt='' src='$_image' />");
print("</td>");
}
print("</tr>");
}
echo '</table> ';
(http://www.hotdesign.com/seybold/everything.html)[それを行う]、[現代の何か](http://www.google.coをしないでください。 uk/search?sourceid = chrome&ie = UTF-8&q =写真+グリッド+ css) – Quentin
誰かが回答を投稿してくれました。あなたの回答を認められるように再投稿してください...カウンターを増やすために欠けていたのは唯一のことです。 – user710502