http://forum.html.it/forum/search.ph...der=descendingcodice:<table> <?php $risultato= mysql_query("select * from TABELLA order by id desc") or die (mysql_error()); $cont=0; while ($row=mysql_fetch_array($risultato)){ if ($cont % 4 == 0) echo "</tr><tr>\n"; echo "<td><img src=\"dir1/subdir/".$row["icona"]."\"></td>\n"; $cont=$cont++; } //end While ?> </table>
![]()