There's no MySql sample.
-
Created. cms ♪ php♪ Used PDO To work with the base. It's super work on the denver. As soon as I moved to the hostel, it stopped working. Once the violin tries to get something from the base, it makes a mistake.
500
♪ Where she's going, I figured out. For example, before works:$user = DB::selectThis("users", "login, password", "WHERE login='{$login}'");
Not anymore. No mistakes in the magazines, absolutely nothing. Files...htaccess watched everything, nothing like that.
It works through it. __autoload♪
Tell the expensive pros, what else is the problem?
-
Disclosure helped to include all the mistakes, instead of a prefaced page with a mistake of 500.
ini_set('display_errors', 'On'); error_reporting(E_ALL);
$pdo->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION);