Home>Article>Backend Development> How to modify records in php mysql
php Mysql method to modify records: 1. Query the current record through "SELECT * FROM symbols"; 2. Modify the record through "mysqli_query($sql);".

The operating environment of this article: windows7 system, PHP7.1 version, DELL G3 computer
php How to modify mysql records?
The example in this article describes how to modify records in PHP MySQL. Share it with everyone for your reference.
The details are as follows:
The code is as follows:
修改记录
query($query)){ //显示返回的记录集行数 if($result->num_rows>0){ //如果有记录 //显示记录集中列的内容 echo "
| "; echo " | "; echo " | "; echo " | "; echo " |