if(calendar1.get(Calendar.MINUTE) == calendar2.get(Calendar.MINUTE))
这是我的代码请帮我打印php中所选数据库表的所有名称 我已经通过show database命令显示了数据库的所有名称,它显示在下拉列表中,在选择特定数据库时,它只显示其中的表数,但我想显示表的名称
答案 0 :(得分:0)
由于你没有发布任何代码,这个答案可能不是你所追求的......但这将显示当前数据库中的所有表。
select `table_name` as 'table'
from `information_schema`.`tables`
where `table_type`='base table' and `table_schema`=database();