Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. <form class="" action="<?php $_SERVER['PHP_SELF'] ;?>" method="post">
  2. <div class="input-group">
  3. <select class="form-control input-lg" name="date1" id="date1" >
  4. <?php foreach($orders as $order ): ?>
  5. <option value="<?php echo $order['id']; ?>"><?php echo $order['order_date']; ?></option>
  6. <?php endforeach; ?>
  7. </select>
  8. <select class="form-control input-lg" name="date2" >
  9. <?php foreach($orders as $order): ?>
  10. <option value="<?php echo $order['id']; ?>"><?php echo $order['order_date']; ?></option>
  11. <?php endforeach; ?>
  12. </select>
  13. </div>
  14. <input type="submit" value="Get Total">
  15. <input type="hidden" value="" name="date_text1" id="date_text1">
  16. <input type="hidden" value="" name="date_text2" id="date_text2">
  17. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement