Jump to content

Pages Database Statistics


Recommended Posts

  • 6 months later...
  • 5 weeks later...
  • 4 weeks later...

I used a "barbaric" method to display the number

Create a Custom PHP block with this code

$link = mysql_connect("localhost", "user", "pass");
mysql_select_db("base", $link);

$res = mysql_query("SELECT COUNT(1) FROM database-table", $link);
$row = mysql_fetch_row($res);
echo $row[];
And I add the block at the place to show number
If someone have better idea.
Link to comment
Share on other sites

  • 4 years later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...