|
 |
|
Estos
son los
=$total_magos?>
magos que participan en el torneo:
|
if (mysql_num_rows($res)) {
while ($datos=mysql_fetch_row($res)) {
?>
$res=mysql_query("select * from mago order by nombre");
print "";
if ($total=mysql_num_rows($res)) {
for ($i=0; $i < floor($total/2); $i++) {
print "";
$datos=mysql_fetch_array($res);
print ucfirst($datos[nombre]).", $datos[titulo]";
print " | ";
$datos=mysql_fetch_array($res);
print ucfirst($datos[nombre]).", $datos[titulo]";
print " | ";
}
if (mysql_num_rows($res) % 2) {
print "";
$datos=mysql_fetch_array($res);
print ucfirst($datos[nombre]).", $datos[titulo]";
print " | ";
print " | ";
}
}
print " ";
if (102 % 3) {
print "Quedo uno.";
}
?>
|
}
}
?>
|

|
 |
|