Im trying to echo out all table names in a specific database, but I can't find a working solution! Here is the code I have to far:
$sql = "SHOW TABLES FROM test";
$result1 = mysqli_query($conn, $sql);
$resultCheck = mysqli_num_rows($result1);
if ($resultCheck > 0){
while ($row = mysqli_fetch_assoc($result1)){
echo $row;
}
}
Any help would be great!