mysql_get_proto_info()

It returns protocol info

Example

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

Output

10

Share