$hostName
$hostName : string
Class C_Database Connect to the Database
Using this DB layer, the system can be connected with following DB Servers
__construct(mixed $host, mixed $user, mixed $pass, mixed $dbName, string $db_type, string $charset)
Constructs DB object By default it creates mysql DB object with necessary credentials provided
mixed | $host | |
mixed | $user | |
mixed | $pass | |
mixed | $dbName | |
string | $db_type | |
string | $charset |
query_then_fetch_array_first(mixed $query_str) : mixed
Helper function. query then, fetch the FIRST record from database as associative array
Desc: helper function. query then, fetch the FIRST record from database as associative array
mixed | $query_str |