020 555 1111
  • Old fashion, modular, procedural PHP plus some scaffolding techniques to allow it to mimic MVC simplicity.
  • A quick reference to help you find in PHP maze what needs to be done and how to do it.
  • Learn a PHP Object Oriented Programming by building a live discussion forum application.
  • MVC - Model View Controller - real life, easy reference and application.
This product has options, take a look at them and select ones you like the most.
Options are displayed under image section.

Ways to disable auto-commit
[MySQL PDO example]

3 ways to set autocommit to false: 

  • in constructor, 
  • setting the atribute after construct and before query data or 
  • initiating a Transaction (that turns off autocommit mode)
//way 1: constructor
$dbh = new PDO('mysql:host=' . DB_HOST . ';dbname=' . DB_NAME, DB_USER, DB_PASSWORD, array(PDO::ATTR_AUTOCOMMIT=>FALSE));

//way 2: set attribute
$dbh->setAttribute(PDO::ATTR_AUTOCOMMIT,FALSE);

//way 3: start transaction
$dbh->beginTransaction();