Return to Snippet

Revision: 61900
at January 23, 2013 06:54 by avenirer


Initial Code
<?php
if (!defined('PDO::ATTR_DRIVER_NAME'))
{
	echo 'PDO unavailable';
}
elseif (defined('PDO::ATTR_DRIVER_NAME'))
{
	echo 'PDO available';
}
?>

Initial URL

                                

Initial Description
Code to verify is PDO extension is installed.

Initial Title
Verify if PDO extension is installed

Initial Tags
extension

Initial Language
PHP