从表和PHP编辑和更新。 [英] Edit and upate from table and PHP .

查看:70
本文介绍了从表和PHP编辑和更新。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么我的编辑页面对我不起作用?它不显示我想要编辑表和数据库中的数据的数据。但它对我不起作用,请指导我,如果有任何编码丢失或我没有。有人可以帮帮我吗? 





我的尝试:



 <   pre     lang   =  PHP >  


?>

解决方案

 


sql = UPDATE寄存器SET`user` ='


user。 '`position` ='

why my edit page not work for me? it does not show the data I want to edit the data from the table and database. but it did not work on me, please guide me if any coding missing or i did not. anyone can help me? 



What I have tried:

<pre lang="PHP">


?>

解决方案


sql= "UPDATE register SET `user`='".


user."',`position`='".


这篇关于从表和PHP编辑和更新。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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