Zaktualizuj 'index.php'

This commit is contained in:
Krystian Rzepa 2019-01-01 02:04:33 +00:00
parent 423a03e715
commit a3f96222af

View File

@ -85,7 +85,7 @@ if ($_SESSION['zalogowany']==true)
<ul class="tasks"> <ul class="tasks">
<?php while ($row = mysqli_fetch_array($tasks)) { ?> <?php while ($row = mysqli_fetch_array($tasks)) { ?>
<li> <span class="task"><?php echo $row['task']; ?> <li> <span class="task"><?php echo $row['task']; ?>
<a class="done-button" href="mark.php?mark_task=<?php echo $row['ID'];?>">Zrobione</a> <a class="done-button" href="mark.php?mark_task=<?php echo $row['ID'];?>">Oznacz jako zrobione</a>
<a class="delete-button" href="delete.php?del_task=<?php echo $row['ID'];?>">Usuń</a> <a class="delete-button" href="delete.php?del_task=<?php echo $row['ID'];?>">Usuń</a>
</span> </li> </span> </li>
<?php } ?> <?php } ?>