WorldWideScripts.net Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
PHP Scripts / Database Abstractions

Mega Class Database (sqlite) v 1.0

— Add-On ke WorldWideScripts.net

@id1wwsBerlangganan feed kami untuk tetap up to date!

Baru ! Ikuti kami seperti yang Anda inginkan!


Mega Kelas Database ( sqlite ) v 1.0 - WorldWideScripts.net Barang Dijual

Ads

Ad: Bluehost hosting

Mega Kelas Database ( sqlite ) v 1.0


Gunakan setiap fitur sqlite di PHP .

Fitur Utama

1 . sqlite Kompatibel dengan : sqlite 2.8.2 + .
2 . Mudah Digunakan, bersih, mudah untuk memahami kode .
3 . Akses sqlite database tanpa pengetahuan tentang sqlite .
4 . Menggunakan Array asosiatif data untuk memasukkan dan memperbarui baris dalam tabel database .
5 . Fitur escape opsional untuk menghindari sqlite Suntikan .
6 . Secara otomatis Membuat Laporan Disiapkan .
7 . Baris pilih, Kolom, Variabel dengan satu kalimat .
8 . Mudah Pilih, Insert, Update, Delete, disaring
9 . Didokumentasikan dengan contoh-contoh dan komentar .
10 . Ukuran Kecil .
11 . Pasang Sepenuhnya terdokumentasi .


Fungsi

// Connect to server
sql_connect($sqlserver, $sqluser, $sqlpassword, $database, $port = false, $persistency = false, $new_link = false);
//-----------------------------------------------------------------+
sql_query($query = '');
// Build sql statement from array for select and select distinct statements
//-----------------------------------------------------------------+
// Build LIMIT query
sql_query_limit($query, $total, $offset = 0);
//-----------------------------------------------------------------+
// Fetch current row
sql_fetchrow($query_id);
//-----------------------------------------------------------------+
//Possible query values: SELECT, SELECT_DISTINCT
function sql_build_query($query, $array);
//-----------------------------------------------------------------+
// Run more than one insert statement.
sql_multi_insert($table, &$sql_ary);
//-----------------------------------------------------------------+
// Escape string used in sql query
sql_escape();
//-----------------------------------------------------------------+
// Gets some information about the specified table.
get_table_status($table_name);
//-----------------------------------------------------------------+
// Gets the exact number of rows in a specified table.
get_row_count($table_name);
//-----------------------------------------------------------------+
//Gets the estimated number of rows in a specified table.
get_estimated_row_count($table_name);
//-----------------------------------------------------------------+
// display sql error page
sql_error();
//-----------------------------------------------------------------+
// Build IN or NOT IN sql comparison string, uses <> or = on single element
sql_in_set($field, $array, $negate = false, $allow_empty_set = false);
//-----------------------------------------------------------------+
// Correctly adjust LIKE expression for special characters
sql_like_expression($expression);
//-----------------------------------------------------------------+
// Version information about used database
sql_server_info();
//-----------------------------------------------------------------+
// Return number of affected rows
sql_affectedrows();
//-----------------------------------------------------------------+
// Seek to given row number
sql_rowseek($rownum, &$query_id);
//-----------------------------------------------------------------+
// Get last inserted id after insert statement
sql_nextid();
//-----------------------------------------------------------------+
// Free sql result
sql_freeresult($query_id = false);
//-----------------------------------------------------------------+
// close sql connection
sql_close();
//-----------------------------------------------------------------+

Penggunaan

// define class file in your script.
define('IN_MEGA_DB', true); 

// Include class file in your script.
include('mega.class.database.php');

$dbhost      = '';
$dbport      = '';
$dbname      = '';
$dbuser      = '';
$dbpasswd    = '';
$tableprefix = '';

//New Class
$db     = new dbal_sqlite();

// connect Database
$con = $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport);


Riwayat Versi

 v1.0
Initial version.

Ambil
Komponen lain dalam kategori iniSemua komponen penulis ini
KomentarPertanyaan yang sering diajukan dan jawaban

Properties

Dibuat:
29 Jan 13

Last Update:
29 Jan 13

Software Versi:
PHP 4.x , 5.x PHP , File Termasuk

Kata kunci

Kelas sqlite, database sqlite, sqlite