hi everyone. i want to list and show the table names in a database in a php page. how to do that? in phpmyadmin 'show tables' works in query window. bt showing it through a php script i think i would have to SELECT?
urbangeek
3
Light Poster
Recommended Answers
Jump to Post
SHOW TABLES
is the actual query.
Jump to PostHi,
I just borrowed this from someone...please see the script's credit on top. This might be more than what you need..if it just table names that you want, then just remove the bottom part of the script.
<?php /**************** * File: displaytables.php * Date: 1.13.2009 * …
All 5 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
urbangeek
3
Light Poster
veedeoo
474
Junior Poster
Featured Poster
urbangeek
3
Light Poster
veedeoo
474
Junior Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.