Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Why is this SQL will perform twice?

    $sql = "INSERT INTO Users (name,email)"." VALUES  ('dsaf','545454')";

    $a =$this->modelsManager->executeQuery($sql);exit;

    Why is this SQL will perform twice? Once two new ?


60.9k
Accepted
answer

if you place the code in your index file, and you have an ajax call, like favicon or so ..



141