我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

在php mysql中选择Table根据表的名称

how to show table from my database according to the name of my table? So i have some tables which is created everyday and named it according to the date, and i want to show table which is named as today on my web application. I'm using PHP and mysql in building my web application. Thanks so much before...

$table_name = "temp_".date('d')."k".date('m')."k".date('Y')."k".time('h')."k".time('i')."k".time('s');

Replace k with an underscore (_).

近期文章

  • 选择组合框后显示复选框
  • 你怎么知道mysql数据库是否有多个结果?
  • PHP从Textbox向WAMP服务器发送信息导致错误
  • 替换你的页面上的文字php像element.innerhtml
  • 尝试使用RecursiveIteratorIterator在PHP中创建多级动态菜单
  • 如何获得下一个用户ID?
  • PHP难以学习吗? [关闭]
  • 仅显示两行/列中一个类别的内容
  • 如何在uidatepicker中显示日期为feb-04-2012而不是02/04/2012
  • 标签'?php'是不允许的
  • 免费的Php编码器
  • 跳转到插件中的顶部链接[重复]
  • Drupal-7无法删除内容
  • 如何在CakePHP中更改分页的URL
  • 单击图标,运行UPDATE查询
  • html呈现一部分数据
  • 从字符串的第一个和最后一个修剪它如何[重复]
  • blob不存在时的自定义图像(404)[重复]
  • 即使密码或用户名不正确,我的PHP登录系统仍然登录
  • 从数据库获取值会产生404错误

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华