title: Is it ok to run whole PHP application in a MySQL transaction?
body: <p>Is it ok to run whole PHP application in a MySQL transaction?</p>
  
  <p>Is there any side effects?</p>
  
  <p>I mean something like this:</p>
  
  <ol>
  <li>Client requests A.php</li>
  <li>A.php -> start mysql transaction</li>
  <li>A.php -> execute and process request</li>
  <li>A.php -> commit mysql transaction</li>
  <li>send requested data to client</li>
  </ol>