yashveer_singh / simple_mysql_connect
This library helps in easy connection and query with mysql and mysqli
1.0
2019-09-17 05:06 UTC
This package is auto-updated.
Last update: 2024-12-17 17:00:44 UTC
README
#Simple MySql Connect
installation: composer require yashveer_singh/simple_mysql_connect
USAGE:
import using use yashveer\Database;
initialise using Database::init('TABLE_NAME','USERNAME','PASSWORD','HOST');
get object using : $database = Database::get();
query using:
$result = $database->rawQuery('select * from TABLE');
check error using:
if(!is_null($database->getError())){
echo $database->getError();
}
============>
######Author : Yashveer Singh (yashveersingh444444@gmail.com)