Cześć,
Męczę się już dłuższy czas z tym. Wyrzuca mi błąd:
Undefined variable: u
mój kod:
<!DOCTYPE html>
<html>
<body>
<div class="container">
<div class="row">
<h1 class="col-12 pl-0">ADMIN PANEL</h1>
<h4 class="mt-4">Your data:</h4>
<table class="table table-hover">
<thead>
<tr>
<th>slowo</th>
</tr>
</thead>
<tbody>
<tr>
<td> <?= $u->getSlowo(); ?>< /td>
</tr>
</tbody>
<tbody class="users-list">
</tbody>
</table>
</div>
</div>
</body>
</html>
Gorąca prośba o pomoc. Z góry dzięki.