Mistři v programování na #hovnokod

PHP #4613

Verejne dostupny GDPR-ready kod

<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

ini_set('memory_limit', '-1');

include "NotORM.php";
$pdo = new PDO("mysql:dbname=production", "production", "Secr3tPassw0rd");
$db = new NotORM($pdo);
foreach ($db->sales_flat_order() as $order) { // get all applications
    echo "$order[customer_email]<br>"; // print application title
}
//echo 'Hello world';

Anonymous,