mySQL - SELECT data

0 votes
184 views
added Sep 13, 2019 in mySQL by LC Marshal Captain (25,790 points)
//select ALL column in table
$query = "SELECT * FROM lcNewTable ORDER BY RAND() LIMIT 10 ";
mysqli_query($db, $query) or die('Error querying database.');

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...