Wählen Sie zufällig aus MySQLi PHP
<?php
require'conn.php';
$query=mysqli_query($conn, "SELECT * FROM `person` ORDER BY rand() LIMIT 6") or die(mysqli_error());
while($fetch=mysqli_fetch_array($query)){
echo"<tr>";
echo"<td>".$fetch['p_id']."</td>";
echo"<td>".$fetch['firstname']."</td>";
echo"<td>".$fetch['lastname']."</td>";
echo"</tr>";
}
?>
Fragile Finch