Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div data-role="page" id="page">
- <div data-role="header">
- <h1>XLX Dashboard</h1>
- </div>
- <?php include 'includes/menu.php';
- $barcode = $_POST['barcode'];
- $barcodesearch = $handler->query("SELECT * FROM customers WHERE barcode='$barcode'");
- while($row = $barcodesearch->fetch(PDO::FETCH_ASSOC)) {
- $name = $row['name'];
- $balance = $row['balance'];
- }
- ?>
- <div data-role="content">
- <p>This is the landing page.</p>
- <p>Barcode = <?php echo $barcode;?></p>
- <p>Name = <?php echo $name;?></p>
- <p>Balance = $<?php echo $balance;?></p>
- </div>
- <div data-role="footer" data-position="fixed">
- <h4>XLX Glen Iris</h4>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement