'Michal', 'email' => 'stronger@epsi.pl')); echo "Inserting object: " . (($id == 1) ? 'PASSED' : 'FAILED') . "\n"; unset($e); unset($id); $sql = "SELECT * FROM employees"; $db->execute($sql); $res = $db->getResult(); echo "Verifying database table entry: " . ((count($res) == 1 and $res[0]['name'] == 'Michal' and $res[0]['email'] == 'stronger@epsi.pl') ? 'PASSED' : 'FAILED') . "\n"; unset($res); ?>