Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Initialize the session
- if (session_status() == PHP_SESSION_NONE) {
- session_start();
- }
- require_once "config.php";
- $unique_code = $_SESSION["unique_code"];
- $columns = array('description');
- $stmt = $pdo->prepare("SELECT * FROM wishlist_items");
- $stmt->execute();
- $number_of_rows = $stmt->rowCount();
- while ($row = ($result = $stmt->fetch(PDO::FETCH_ASSOC))) {
- ?>
- <td><?php echo $row['page_order']; ?></td>
- <td><?php echo $row['description']; ?></td>
- <td><?php echo ($row['done'] ? "yeet" : "kurk"); ?></td>
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement