Home > PHP > mysql_get_server_info()

mysql_get_server_info()

It returns server info

Example

<?php
mysql_connect(“localhost”, “root”, “phpcode”) or die(mysql_error());
echo mysql_get_server_info();
?>

Output

5.1.61-0ubuntu0.10.10.1

EmailFacebookLinkedInMySpaceDiggTumblrStumbleUponShare
Beginner's Guide....
Categories: PHP Tags: , ,
Comments are closed.

Switch to our mobile site