Ouwe rakker |
|
<?php
define("PROFIEL_LINK", '<a href="?page=profiel&id=%d">%s</a>');
$selectMembers = mysql_query("SELECT `id`, `gebruikersnaam`
FROM `leden`
ORDER BY `id` ASC");
echo '<table>';
while ($member = mysql_fetch_assoc($selectMembers)) {
echo '<tr>'
. ' <td>' . sprintf(PROFIEL_LINK, intval($member['id']), htmlspecialchars(stripslashes($member['gebruikersnaam']))) . '</td>'
. '</tr>';
}
echo '</table>';
<?php define("PROFIEL_LINK", '<a href="?page=profiel&id=%d">%s</a>'); $selectMembers = mysql_query("SELECT `id`, `gebruikersnaam` FROM `leden` ORDER BY `id` ASC"); . '</tr>'; }
|