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

Asked

Viewed 37 times

-3

Hello, I need valuable information that I do not know how to justify could help me in the following scenario?

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

T-SQL: Already if I am on the screen and run the UPDATE directly by SGBD, and return to the list of products and click again on the product will show that it is ACTIVE as I wish.

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

Hugs,

1 answer

0


In fact what was happening was that after I gave an UPDATE in PHP, there was a last update right after, and the system was the last. Or by overwriting my own.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.