$result = mysql_query("SELECT * FROM productos ORDER by producto ASC", $conexion);
?>
$i = 0; ?>
while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) { ?>
if ($i == 0) { ?>
}; ?>
|
|
>
|
|
> código
|
|
>
|
|
if ($i != 3) { ?>
|
}; ?>
if ($i == 3) { ?>
$i = 0; ?>
} else { ?>
$i++; ?>
}; ?>
}; ?>
if ($i != 0) { ?>
for ($j=$i;$j<3;$j++) { ?>
|
|
}; ?>
|
}; ?>
|