A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
<?php $dbhost = 'my.remote.mysqlserver'; $dbuser = 'myusername'; $dbpass = 'mypassword'; $dbname = 'mydatabase'; $link = mysql_connect($dbhost, $dbuser, $dbpass); mysql_select_db($dbname, $link); $result = mysql_query("SELECT * FROM myTable", $link); $num_rows = mysql_num_rows($result); echo "$num_rows Rows\n"; ?>
|PHP not parsing ' character||12||46|
|MVC - procedural PHP||10||34|
|Restricting the scope of variables to private in OOP||4||21|
|How to select record with In and condition together based on more then one coulmn||7||24|