sqlite_exec(PHP 5) sqlite_exec(no version information, might be only in CVS) SQLiteDatabase->exec -- Executes a result-less query against a given database说明bool sqlite_exec ( resource dbhandle, string query [, string &error_msg] )bool sqlite_exec ( string query, resource dbhandle ) Object oriented style (method): class SQLiteDatabase {bool queryExec ( string query [, string &error_msg] ) } Executes an SQL statement given by the query against a given database handle (specified by the dbhandle parameter).
参数
返回值This function will return a boolean result; TRUE for success or FALSE for failure. If you need to run a query that returns rows, see sqlite_query(). 由 SQLITE_ASSOC 和 SQLITE_BOTH 返回的列名会根据 sqlite.assoc_case 配置选项的值来决定大小写。 范例
| |||||