if (extension_loaded('mysqlnd')) // or 'mysql' or 'pdo_*'
echo 'MYSQL extension is loaded';
du kan også bruge:
if (function_exists('mysql_connect'))
echo 'MYSQL functions are available';
if (extension_loaded('mysqlnd')) // or 'mysql' or 'pdo_*'
echo 'MYSQL extension is loaded';
du kan også bruge:
if (function_exists('mysql_connect'))
echo 'MYSQL functions are available';