Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
$config = new Zend_Config_Ini(
    APPLICATION_PATH.'/configs/web.ini',
    'development'
);
$db = Zend_Db::factory($config->resources->multidb->webshop);

$query = "select fname, lname, email from vw_prodpart
where product_id IN (57,58,59) and order_status NOT IN ('canceled', 'unpaid', 'pending', 'refund')";

$participants = $db->query($query)->fetchAll();

Presentation rating