Name

mysql_get_client_info

Synopsis

string mysql_get_client_info(  )

Returns a string that describes the MySQL client library used by PHP. This is currently the library version number. This function is available only in PHP 4.0.5 or later versions.

Example

<?php
  // Prints (on our machine): This is the 3.23.44 MySQL client library.
  echo "This is the " . mysql_get_client_info(  ) . " MySQL client library.";
?>

Get Managing & Using MySQL, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.