• Yii2. Working with multiple databases

    Yii2. Working with multiple databases

    A simple example of working with several databases in Yii framework 2.

    June 13, 2017     0     5398     Egor         yii2, Yii Framework 2, Database    


  • Working with PDO in PHP

    Working with PDO in PHP

    Functions mysql in PHP to work with the database has long been obsolete, for today it is desirable to use mysqli or PDO (PHP Data Objects).

    In addition, PDO supports a large number of different types of databases, such as: MySQL, PostgreSQL, SQLite, Oracle, Firebird, etc. And so let's figure out how to work with PDO, consider the most frequently used queries.

    June 1, 2017     0     1334     Egor         PHP, PDO, Database    


Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it?

Brian W. Kernighan