graph date filter
[scannr.git] / calllog.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
include ('common.inc.php');
    $sth = $conn->prepare( 'select * from recordings
            order by call_timestamp desc limit 10');
 
    $sth->execute(Array());
 
$row = 0;
echo "<table>";
foreach ($sth->fetchAll() as $data) {
        
            
        echo "<tr>";
        for ($c=0; $c < count($data); $c++) {
            echo '<td>'.$data[$c] . "</td>\n";
        }
        echo "</tr>";
        }
        $row++;
echo "</table>";
?>