private function execute($sql)
{
InternalError('Test');
try {
$row = $db->query($sql, PDO::FETCH_COLUMN);
return $row['total'];
} catch(PDOException $e) { //Это 47 строка
InternalError($e->getMessage());
}
}
Notice: Undefined property: getData::$selectSale in Z:\home\test1.ru\www\test.php on line 31
[Денвер: показать возможную причину ошибки]
Warning: Invalid argument supplied for foreach() in Z:\home\test1.ru\www\test.php on line 33
Notice: Undefined variable: s in Z:\home\test1.ru\www\test.php on line 43
Notice: Undefined variable: date in Z:\home\test1.ru\www\test.php on line 47
/ Array
} }