Created
September 13, 2016 21:30
-
-
Save ogabrielsantos/0b734d1fc873f32fae571ddc68ea298e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include 'db.php'; | |
$result = $MySQLiconn->query("select table_name from information_schema.tables where table_name like 'tb%' order by 1"); | |
$t1 = array(); | |
while ($row = mysqli_fetch_array($result)) { | |
$t1[] = $row; | |
} | |
$count = count($t1); | |
echo $count; | |
echo "<br />"; | |
mysqli_free_result($result); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment