bilis_money Posted March 31, 2007 Share Posted March 31, 2007 hi, Can someone please help me to recall on how to display MySQL's version using php script? I know i did this before the problem is i can't recall it anymore. thank you very much in advance. Link to comment https://forums.phpfreaks.com/topic/45025-displaying-mysql-version-using-php-how/ Share on other sites More sharing options...
genericnumber1 Posted March 31, 2007 Share Posted March 31, 2007 http://www.php.net/manual/en/function.mysqli-get-server-version.php Link to comment https://forums.phpfreaks.com/topic/45025-displaying-mysql-version-using-php-how/#findComment-218581 Share on other sites More sharing options...
bilis_money Posted March 31, 2007 Author Share Posted March 31, 2007 thanks man. Link to comment https://forums.phpfreaks.com/topic/45025-displaying-mysql-version-using-php-how/#findComment-218612 Share on other sites More sharing options...
wildteen88 Posted March 31, 2007 Share Posted March 31, 2007 That will only work if you are using the mysql improved extension (php_mysqli.dll or php_mysqli.so) If you are using the normal mysql extension (php_mysql.dll or php_mysql.so) then you use mysql_get_server_info() function Note: you must be connected to mysql before using this function. Link to comment https://forums.phpfreaks.com/topic/45025-displaying-mysql-version-using-php-how/#findComment-218711 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.