How to query the name of mysql table in php: first connect to the server, the code is [die("Connection failed: " . mysql..]; then select the database, the code is [while($row = mysql_fetch_array($result ))】.
Recommended (free):php mysql
How to query the name of mysql table in php:
"; $tabelCount++; } }else { echo "query result is null"; } mysql_free_result($result); mysql_close($con) ?>
The result is displayed as shown below:
The above is the detailed content of How to query the name of mysql table in php. For more information, please follow other related articles on the PHP Chinese website!