HTML interesse |
|
<table cellpadding="0" cellspacing="0" border="0" bordercolor="#CCCCCC" width="100%">
<tr>
<td>Alle Spelers</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>
<tr>
<td width="10%">
ID:
</td>
<td width="20%">
Gebruikersnaam:
</td>
<td width="25%">
Geboortedatum:
</td>
</tr>
<tr>
<td colspan="4"> </td>
</tr>
<tr>
<?
$sql = mysql_query("SELECT * FROM users WHERE geactiveerd = '1'") or die(mysql_error());
$row = mysql_fetch_assoc($sql);
?>
<td width="10%">
<?= $row['id']; ?>
</td>
<td width="20%">
<b><?= $row['username']; ?></b>
</td>
<td width="25%">
<?= $row['geb1']; ?>
<?
if($row['geb2'] == 01) { echo "Januari"; }
elseif($row['geb2'] == "02") { echo "Februari"; }
elseif($row['geb2'] == "03") { echo "Maart"; }
elseif($row['geb2'] == "04") { echo "April"; }
elseif($row['geb2'] == "05") { echo "Mei"; }
elseif($row['geb2'] == "06") { echo "Juni"; }
elseif($row['geb2'] == "07") { echo "Juli"; }
elseif($row['geb2'] == "08") { echo "Augustus"; }
elseif($row['geb2'] == "09") { echo "September"; }
elseif($row['geb2'] == "10") { echo "October"; }
elseif($row['geb2'] == "11") { echo "November"; }
elseif($row['geb2'] == "12") { echo "December"; }
?>
<?= $row['geb3']; ?>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" bordercolor="#CCCCCC" width="100%"> <tr> <td>Alle Spelers</td> </tr> <tr> <td> </td> </tr> <tr> <td> <tr> <td width="10%"> ID: </td> <td width="20%"> Gebruikersnaam: </td> <td width="25%"> Geboortedatum: </td> </tr> <tr> <td colspan="4"> </td> </tr> <tr> <? ?> <td width="10%"> <?= $row['id']; ?> </td> <td width="20%"> <b><?= $row['username']; ?></b> </td> <td width="25%"> <?= $row['geb1']; ?> <? if($row['geb2'] == 01) { echo "Januari"; } elseif($row['geb2'] == "02") { echo "Februari"; } elseif($row['geb2'] == "03") { echo "Maart"; } elseif($row['geb2'] == "04") { echo "April"; } elseif($row['geb2'] == "05") { echo "Mei"; } elseif($row['geb2'] == "06") { echo "Juni"; } elseif($row['geb2'] == "07") { echo "Juli"; } elseif($row['geb2'] == "08") { echo "Augustus"; } elseif($row['geb2'] == "09") { echo "September"; } elseif($row['geb2'] == "10") { echo "October"; } elseif($row['geb2'] == "11") { echo "November"; } elseif($row['geb2'] == "12") { echo "December"; } ?> <?= $row['geb3']; ?> </td> </tr> </table>
ik krijg geen fout ofzo, er zijn members geregistreerd,
maar ik krijg enkel de eerste user...
|