neden benim while döngüsü MySQL veritabanı girdileri alma ve gösterdiği gibi sunulması değil mi? Teşekkürler :).
<?php $djs_all_db = mysql_query("SELECT * FROM djs")
or die(mysql_error());
$djs_all_num = mysql_num_rows($djs_all_db);
while($djs_all = mysql_fetch_array( $djs_all_db )) {
if ($djs_all_num % "2") {
echo "<div class=\"row\">
<div class=\"column column-2\">
<img src=\"images/about/" . $djs['username'] . "-profile.png\" alt=\"Profile\" class=\"profile-image\"/>
<p class=\"float-left\"><strong>" . $djs['realname'] . "</strong></p>
<p class=\"float-right\"><a href=\"#\" title=\"\">" . $djs['position'] . "</a></p>
<div class=\"clear\"></div>
<p>" . $djs['biography'] . "</p>
</div>";
} else {
echo "<div class=\"column column-3\">
<img src=\"images/about/" . $djs['username'] . "-profile.png\" alt=\"Profile\" class=\"profile-image\"/>
<p class=\"float-left\"><strong>" . $djs['realname'] . "</strong></p>
<p class=\"float-right\"><a href=\"#\" title=\"\">" . $djs['position'] . "</a></p>
<div class=\"clear\"></div>
<p>" . $djs['biography'] . "</p>
</div></div>";
} }?>