Anonymous Anonymous - 6 days ago
86 0

No description

PHP

index.view.php

<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <title>Document</title>
  </head>
  <body>
    <ul>

        <?php foreach ($tasks as $task) : ?>

        <li>

            <?php if ($task->completed) : ?>
              <del><?= $task->description; ?></del>
            <?php else: ?>
              <?= $task->description; ?>
            <?php endif; ?>

        </li>

        <?php endforeach; ?>

    </ul>
  </body>
</html>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download