--- a/viewcalls.php +++ b/viewcalls.php @@ -4,98 +4,183 @@ $from = (isset($_REQUEST['from']) ? $_REQUEST['from'] : strtotime("2012-09-12")); $to = (isset($_REQUEST['to']) ? $_REQUEST['to'] : strtotime("2012-12-12")); include_header("fdds"); - $sth = $conn->prepare('select distinct date_trunc(\'day\', call_timestamp) as rdate from recordings order by rdate'); +$sth = $conn->prepare('select distinct date_trunc(\'day\', call_timestamp) as rdate from recordings order by rdate'); - $sth->execute(); - foreach( $sth->fetchAll() as $row) { -echo ''.$row['rdate'].'
'; +$sth->execute(); +foreach ($sth->fetchAll() as $row) { + echo '' . $row['rdate'] . '
'; } ?> +
+
+
+ +
+
+
-
<
>
- +