Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include '../dbconnect.php';
- $res = $conn->query("SELECT id FROM messages ORDER BY RAND() LIMIT 10");
- while($row=$res->fetch_array())
- {
- echo $row['id'] . "<br>";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement