Get list of MySQL tables

/ Published in: PHP
Save to your folder(s)

Get list of MySQL tables

Copy this code and paste it in your HTML
  1. $result = $db->query('select table_name, table_rows, update_time from information_schema.tables '.
  2. 'where table_schema=\''.$database_name.'\'');

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.