Jump to content


Photo

*SOLVED* Detecting MySQL version?


  • Please log in to reply
2 replies to this topic

#1 Vorotaev

Vorotaev
  • Members
  • PipPip
  • Member
  • 27 posts
  • LocationCanada

Posted 09 April 2006 - 02:07 PM

This is probably a n00b question, but how would one go about using PHP to detect the version of MySQL someone is using? Much thanks in advance.

#2 kenrbnsn

kenrbnsn
  • Staff Alumni
  • Advanced Member
  • 8,235 posts
  • LocationHillsborough, NJ, USA

Posted 09 April 2006 - 02:12 PM

Take a look at the function [a href=\"http://www.php.net/mysql_get_server_info\" target=\"_blank\"]mysql_get_server_info[/a]().

Ken

#3 Vorotaev

Vorotaev
  • Members
  • PipPip
  • Member
  • 27 posts
  • LocationCanada

Posted 09 April 2006 - 02:17 PM

That's perfect, thank you. ^_^

**SOLVED**




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users