【发布时间】:2012-01-13 10:53:29
【问题描述】:
我想使用 PHP 从 MySQL 数据库中获取最后创建的表名。
我也使用了查询,但我无法获得任何值。这是查询:
"select table_name from information_schema.tables where table_schema = 'databse_name' order by create_time desc limit 1"
当我使用它时,我从本地系统获得价值,但没有从客户的数据库中获得价值。 我的查询有什么错误?
【问题讨论】:
标签: php mysql information-schema