Mysqli Select All Table Operation

Description

Retrives all the tables from database.


Function Reference :
 
       			mysqli_result/array dbGetTableName() 
             

Examples

  
          <?php 
         $sdb= new SimplifiedDB(); 
         $sdb->dbConnect("localhost","username","password","dbuser");
         $result=$sdb->dbGetTableName();
		 ?> 
         

Result

Returns result object by default. You can set $sdb->output_array=true, to return array as output.
If you use print_r($row) in
while ($rows = $result->fetch_array()) {
echo $row[0];
}
it will show output as in following format.

user_blogs user_roles users

Debuging

Debug Operation Result/Output
$sdb->query show tables
$sdb->last_insert_id
$sdb->rows_affected
$sdb->message_info Connected to database
$sdb->error_info