1. Go to this page and download the library: Download gamerboytr/phpsql library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
gamerboytr / phpsql example snippets
// Dosya İle
e
$phpsql = new GamerboyTR\phpSQL();
$phpsql = new GamerboyTR\phpSQL("host", "kullanici_adi", "sifre");
// Veya
$phpsql->set_config("host", "kullanici_adi", "sifre");
$phpsql->set_db("veritabani_adi");
$veri = $phpsql->select("seçici", "tablo");
// Örnek
$veri = $phpsql->select("*", "üyeler");
$veri = $phpsql->query("sorgu");
// Örnek
$veri = $phpsql->query("SELECT * FROM üyeler");
$dize = $phpsql->get_config(); // Bir Array Döndürür