<?php |
<?php |
include ('common.inc.php'); |
include ('common.inc.php'); |
$sth = $conn->prepare( 'select * from recordings |
$sth = $conn->prepare('select * from recordings |
order by call_timestamp desc limit 10'); |
order by call_timestamp desc limit 1000'); |
|
|
$sth->execute(Array()); |
$sth->execute(Array()); |
|
|
$row = 0; |
$row = 0; |
echo "<table>"; |
echo "<table>"; |
foreach ($sth->fetchAll() as $data) { |
foreach ($sth->fetchAll() as $data) { |
|
|
|
|
echo "<tr>"; |
echo "<tr>"; |
for ($c=0; $c < count($data); $c++) { |
for ($c = 0; $c < count($data); $c++) { |
echo '<td>'.$data[$c] . "</td>\n"; |
echo '<td>' . $data[$c] . "</td>\n"; |
} |
} |
echo "</tr>"; |
echo "</tr>"; |
} |
} |
$row++; |
$row++; |
echo "</table>"; |
echo "</table>"; |
?> |
|
|
|