Advertisement
Guest User

Untitled

a guest
Sep 29th, 2017
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. <div class="input-group">
  2.  
  3. <?php
  4. $quotes = $DBcon->query(
  5. 'SELECT quote FROM quotes ORDER BY RAND() LIMIT 1;');
  6. $result = $quotes->fetch_array();
  7. ?> <strong>Quote:</strong> - <?php echo json_encode($result); ?>
  8. <input type="submit" class="btn btn-primary" value="Get Quote" />
  9. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement