MorriganJune 18, 2015 in Feedback
It would be awesome (and I know a mod could make it and I may just code it myself if necessary) if there was a 'statistics' widget for pages databases. Basically like other statistics widgets where if gives you the number of records (using the databases record lingo) number of comments and latest record.
Bumping this to the top...
Were you ever able to find or create a solution for this?
I have not but it's on my to-do list.
I Try to find this to. Add number of records in a database.
I try this but ... no....
I used a "barbaric" method to display the number
Create a Custom PHP block with this code
$link = mysql_connect("localhost", "user", "pass");
$res = mysql_query("SELECT COUNT(1) FROM database-table", $link);
$row = mysql_fetch_row($res);
Has anyone been able to create a Statistics block for a database page?
Wow! Talk about a blast from the past... Holy hell.
I gave up and just decided it wasn't worth it. Plus I no longer use comments as much as I use reviews.
Started December 15, 2016
Started January 4, 2017
Started February 25, 2016
Started August 12, 2016
Started December 3, 2016
Started 12 hours ago
Started 8 hours ago
Started 42 minutes ago