<?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>"; | |
?> | |