Panduan Praktis PHP/Basis data
Perbandingan bahasa operasi basis data pada PHP dan Gambas:
Wikipedia memiliki artikel ensiklopedia mengenai:
PHP | Gambas |
---|---|
$database = new SQLite3($berkas); |
Dim conDatabase As Connection conDatabase = New Connection conDatabase.Type = "sqlite3" conDatabase.Name = strBerkas conDatabase.Open |
$row = $database->querySingle($kueri, true); |
Dim result As Result result = conDatabase.Exec(strKueri) |
$id = $row["id"]; |
id = result["id"] |
$database->close(); |
conDatabase.Close |