Home >Backend Development >PHP Tutorial >php-PHP在循环中执行SQL问题

php-PHP在循环中执行SQL问题

WBOY
WBOYOriginal
2016-06-02 11:33:401333browse

phpsql

写了一个for循环来执行插入语句,但是如果在循环中某一次不符合条件要退出循环时,怎么样才能将之前执行的插入取消呢?

Statement:
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