title
Description
Body
...
echo '<form action="fail.php" method="post">';
$tables = mysql_query("SHOW TABLE STATUS FROM `$db`");
$count = 0;
while($table = mysql_fetch_array($tables))
{
echo ceil(ceil($count / 2) - ($count / 2)) == 0 ? '<div class="b">' : '<div class="c">';
echo '<input type="checkbox" name="'.$count.'"><a href="#">'.$table['Name'].'</a>';
++$count;}
echo '</form>';
...
Как-то так да?
Отредактировано GraFiT (2010.08.28 21:28)
Неактивен