Prev | Current Page 35 | Next

W. Jason Gilmore

"Beginning PHP and MySQL: From Novice to Professional"

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 567
Introduction to SQLite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 567
Installing SQLite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 568
Using the SQLite Command-Line Interface . . . . . . . . . . . . . . . . . . . 569
PHP??™s SQLite Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 571
sqlite.assoc_case = 0 | 1 | 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 571
Opening a Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 571
Creating a Table in Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573
Closing a Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573
Querying a Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 574
Parsing Result Sets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 576
Retrieving Result Set Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 580
Manipulating the Result Set Pointer . . . . . . . . . . . . . . . . . . . . . . . . . 582
Retrieving a Table??™s Column Types . . . . . . . . . . . . . . . . . . . . . . . . . 585
Working with Binary Data .


Pages:
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47