从PHP中的新记录自动创建页面 [英] Create Page Automatically from new record in PHP

查看:72
本文介绍了从PHP中的新记录自动创建页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

喜德拉所有

我要为管理页中的代码是:当从管理面板管理一个记录添加到MySQL,之后立即在网站上自动创建新页面

解决方案
确定你在表记录id其中管理插入图片和现场应自动递增的,所以当管理员进入一个记录您选择使用MAX(记录ID),并使用文件名在图片框中显示图像。


Hi Dera all
I want a code for admin page which is: when admin from the admin panel add one record to Mysql, after that immediately create new page in website automatically .

解决方案

ok you have record id in table where admin insert image and the field should be auto incremented so when admin enters one record you select using max(record id) and using the file name display the image in a picture box.


这篇关于从PHP中的新记录自动创建页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆