qwertz
Neues Mitglied
Hallo Comunity,
Da ich recht neu in diesem Bereich bin und ich gerade nicht mehr weiter komme Frage ich euch um hilfe.
Ich habe 2 Fehlermeldungen bekommen, die ich nicht fixen kann.
Quellcode davon lautet wie folgt:
ich hoffe ihr könnt mir helfen.
Liebe Grüße
Da ich recht neu in diesem Bereich bin und ich gerade nicht mehr weiter komme Frage ich euch um hilfe.
Ich habe 2 Fehlermeldungen bekommen, die ich nicht fixen kann.
Quellcode davon lautet wie folgt:
HTML:
<?php
include 'mysql.php';
$sql = "SELECT * FROM 'eintraege'";
$result = mysqli_query($mysql, $sql);
if (mysqli_num_rows($result) > 0)
{
?>
<table class="table table-striped">
<thead class="thead-dark">
<tr>
<th> </th>
<th>Mitteiung</th>
</tr>
</thead>
<?PHP
//OUTPUT DATA OF EACH ROW
while($row = mysqli_fetch_assoc($result)){
?>
<tbody>
<tr>
<td> <span class="glyphicon glyphicon-menu-right"></span> </td>
<td><?php echo $row["eintrag"]; ?></td>
</tr>
</tbody>
<?php } ?>
</table>
<br>
<?php } else { ?>
<h4><center>Keine Einträge</center> </h4>
<?php } ?>
ich hoffe ihr könnt mir helfen.
Liebe Grüße