November 2004
Intermediate to advanced
336 pages
6h 22m
English
This appendix lists the PHP functions that can be used to communicate with a SQLite database.
Further information and examples of usage submitted by users can often be found in the annotated PHP manual at http://www.php.net/manual/en/ref.sqlite.php.
Functions that return an array of results can take an optional result_type argument to determine what type of array is created. These are the valid constants:
SQLITE_ASSOC causes the array to use the string type column name as the array index.
SQLITE_NUM causes the array to use a numerical index starting from zero for each column in the result.
SQLITE_BOTH causes the array to use both string and numerical keys.
If no constant is specified, SQLITE_BOTH ...
Read now
Unlock full access