PHP » GoLang |
login |
register |
about
|
sqlite_execSQLiteDatabase::exec(PHP 5 < 5.4.0, PECL sqlite >= 1.0.3) sqlite_exec -- SQLiteDatabase::exec — Executes a result-less query against a given database Description
bool sqlite_exec
( resource
$dbhandle
, string $query
[, string &$error_msg
] )
bool sqlite_exec
( string
$query
, resource $dbhandle
)Object oriented style (method):
public bool SQLiteDatabase::queryExec
( string
$query
[, string &$error_msg
] )
Executes an SQL statement given by the Warning
SQLite will execute multiple queries separated by semicolons, so you can use it to execute a batch of SQL that you have loaded from a file or have embedded in a script. Parameters
Return Values
This function will return a boolean result; The column names returned by
Changelog
Examples
Example #1 Procedural example
<?php
Example #2 Object-oriented example
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|