×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Dylan Lopez
Added: Apr 3, 2018 2:23 AM
Views: 2
Returns an array containing the names of all the tables in the database you are currently connected to. Example:
$tables = $this->db->list_tables();

foreach ($tables as $table)
{
echo $table;
}
  1. $this->db->list_tables();