What is the difference between executing SQL and SGBD in an intermediate language (PHP, Java, C #)? [closed]

-3

Hello, I need some precious information that I can not justify could you help me in the following scenario?

PHP: When I execute the SQL statement (UPDATE) by PHP and when I return to the list of products I just updated and click again on the same product it gets the old value example: OFF, if I return the list again the product is shown as active. being updated after a second time);

T-SQL: If I'm on the screen and run UPDATE directly through the DBMS, and go back to the list of products and click again on the product will show that it is ACTIVE, depending on what I want.

Note the list: The product list and product screen are in an Iframe and do not cache as well.

Hugs,

    
asked by anonymous 28.03.2017 / 21:54

1 answer

0

Actually what was happening was that after I gave an UPDATE in PHP, there was a last update soon after, the system being the last one. In other words, overwriting mine.

    
31.03.2017 / 15:53