1
0
mirror of https://github.com/gamaio/lobli.git synced 2024-12-22 11:42:40 +00:00

remove diagnostic print_r to test array values.

Checking to see if everything is getting into the array properly in the right place.
This commit is contained in:
alopexc0de 2014-08-09 20:32:53 -04:00
parent 7c71c5744e
commit 485f1fa66f
No known key found for this signature in database
GPG Key ID: 48E847F18074C953

View File

@ -43,6 +43,8 @@
<tbody>
<?php
require('Include/PHP/db.php');
$stats = $redis->keys("tracking:clicks:*");
rsort($stats);
$stats = array_slice($stats, 0, 5, true);
@ -53,8 +55,6 @@
$linkData = $redis->lRange("links:$id", 0, -1);
print_r($linkData); exit;
$link = $linkData[0];
$title = $linkData[1];
$date = $linkData[2];