Skip to content

stievenk/Koyabu-Database-Connection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cara Install

Menggunakan Composer

composer require koyabu/database-connection

Contoh penggunaan: test.php

<?php
// How to use
// Sample
$config['host'] = 'localhost';
$config['user'] = 'root';
$config['pass'] = '';
$config['data'] = 'test';

require 'vendor/autoload.php';

use Koyabu\DatabaseConnection\Connection as DatabaseConnect;
$Database = new DatabaseConnect($config);

/*
$Database->query("INSERT INTO `test` (id,name) VALUES (1,'TEST')");

$QRY = $Database->query("select * from `test`");
$RESULT = $Database->fetch_assoc($QRY);
*/
?>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages