idea ide updates
[scannr.git] / calllog.php
blob:a/calllog.php -> blob:b/calllog.php
--- a/calllog.php
+++ b/calllog.php
@@ -1,22 +1,21 @@
 <?php
 include ('common.inc.php');
-    $sth = $conn->prepare( 'select * from recordings
-            order by call_timestamp desc limit 10');
+$sth = $conn->prepare('select * from recordings
+            order by call_timestamp desc limit 1000');
 
-    $sth->execute(Array());
+$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 "<tr>";
+    for ($c = 0; $c < count($data); $c++) {
+        echo '<td>' . $data[$c] . "</td>\n";
+    }
+    echo "</tr>";
+}
+$row++;
 echo "</table>";
-?>