Posted By

AgentPhoenix on 01/24/08


Tagged

mysql version


Versions (?)

MySQL Version


 / Published in: PHP
 

  1. /* query the database for the mysql version */
  2. $t = mysql_query("select version() as ve");
  3. $r = mysql_fetch_object( $t );
  4.  
  5. /* if the server is running mysql 4, do something */
  6. if( $r->ve >= 4 ) {
  7. ...
  8. }

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: DeadLy on January 25, 2008

mysqlgetserver_info();

Posted By: DeadLy on January 25, 2008

this engine replace _

mysqlgetserver_info() mysql _ get _ server _ info()

Posted By: DeadLy on January 25, 2008

mysql_get_server_info()

You need to login to post a comment.