Panduan Praktis PHP/Basis data
Tampilan
Wikipedia memiliki artikel ensiklopedia mengenai:
Perbandingan bahasa operasi basis data pada PHP dan Gambas:
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 |