Home > Backend Development > PHP Tutorial > 数据库修改更新的有关问题

数据库修改更新的有关问题

WBOY
Release: 2016-06-13 11:42:26
Original
877 people have browsed it

数据库修改更新的问题
先select查询数据库,然后在一个循环当中fetch_assoc()一行记录,然后根据该行记录中的某字段修改表,可修改不仅是这条记录而是该表中符合该字段的所有记录,请问修改过后我该如何更新数据库以免再次循环时重复修改以提高效率?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template