如何使用php和mysql创建添加/删除/更新按钮的网页? [英] How to make webpage with add/delete/update button using php and mysql?

查看:85
本文介绍了如何使用php和mysql创建添加/删除/更新按钮的网页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我尝试用一​​些文本框和一些按钮制作一个网页。如何当我按下按钮时,它在phpmyadmin中添加/删除/更新我的数据库存储,并且我填写了文本框中的数据?

请帮助我。谢谢。

解决方案

看看下面的链接



http://www.freezecoders.com/2012/11/add- list-edit-delete-record-in-database-using-php.html [ ^ ]





http://www.coursesweb.net/php-mysql/pdo-exec -insert-update-delete [ ^ ]



希望他们帮忙。


表格贴/获取你的数据到php页面; 
看这个函数=>资源mysql_query(string


查询 [,资源


Hi everyone, I try to make a web page with some textbox and some button. How when I press the button, it add/delete/update my database store in phpmyadmin with data I fill in textbox?
Please help me. Thank you.

解决方案

Just have a look at the below links

http://www.freezecoders.com/2012/11/add-list-edit-delete-record-in-database-using-php.html[^]


http://www.coursesweb.net/php-mysql/pdo-exec-insert-update-delete[^]

Hope they help.


the form post/get your data to the php page;
look this function =>resource mysql_query ( string 


query [, resource


这篇关于如何使用php和mysql创建添加/删除/更新按钮的网页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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