API16:JDatabaseMySQL/test
From Joomla! Documentation
Description
Test to see if the MySQL connector is available
<! removed transcluded page call, red link never existed >
Syntax
test()
Returns
boolean True on success, false otherwise.
Defined in
libraries/joomla/database/database/mysql.php
Importing
jimport( 'joomla.database.database.mysql' );
Source Body
public function test()
{
return (function_exists('mysql_connect'));
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples