PHP-MySQL: Descobrindo a versão do MySQL
<? $result = mysql_query('SELECT VERSION()') or die('Query failed: ' . mysql_error()); $mysql_version = mysql_fetch_array($result, MYSQL_ASSOC); echo $mysql_version['VERSION()']; ?> |
<? $result = mysql_query('SELECT VERSION()') or die('Query failed: ' . mysql_error()); $mysql_version = mysql_fetch_array($result, MYSQL_ASSOC); echo $mysql_version['VERSION()']; ?> |