PHP-Code:
echo '<table border=1>';
echo '<tr>';
echo '<th>Patienten_ID</th>';
echo '<th>Vorname</th>';
echo '<th>Nachname</th>';
echo '<th>Geburtsdatum</th>';
echo '</tr>';
while ($fetch = mysqli_fetch_array($ergebnis)){
echo '<tr>';
echo '<td>' . $fetch['Patienten_ID'] . '</td>';
echo '<td>' . $fetch['Vorname'] . '</td>';
echo "<td> <a href=arzt_patientenverweis.php?>" . $fetch['Nachname'] . "</a></td>";
echo '<td>' . $fetch['Geburtsdatum'] . '</td>';
echo '</tr>';
}
echo '</table>';
Kommentar