My apologies I should have read the Manual entry before telling you to look at it, as I see it's deprecated, probably why there is no mysqli function for it.
Any way the recommended way is to use mysql_query() to run the sql statement so for instance to show tables in a database you would use something like this
<?php
$conn = mysql_connect( 'localhost', 'user', 'password' );
if ( ! $conn ) die( "Couldn't connect to MySQL" );
mysql_select_db( 'database' ) or die ( "Couldn't open database: ".mysql_error() );
$sql = mysql_query('SHOW tables');
while($row = mysql_fetch_row($sql)){
foreach ($row as $key=>$value)
print $value."\n<br>";
}
?>