Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="input-group">
- <?php
- $quotes = $DBcon->query(
- 'SELECT quote FROM quotes ORDER BY RAND() LIMIT 1;');
- $result = $quotes->fetch_array();
- ?> <strong>Quote:</strong> - <?php echo json_encode($result); ?>
- <input type="submit" class="btn btn-primary" value="Get Quote" />
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement