Using PHP Objects to access your Database Tables (Part 1)
หน้าแรก PHP MySQL เกร็ดความรู้ Using PHP Objects to access your Database Tables (Part 1)
Intended Audience
- Prerequisites
- An introduction to OO functionality within PHP
- - Creating a Class with Properties and Methods
- - The 'constructor' method
- - Extending a Class
- - Creating an Object
- - Accessing an Object's Properties and Methods
- - Objects and Sessions
- My 'database_table' class
- - Background
- - Class Variables
- - Class Constructor
- - 'getData' Method
- - 'insertRecord' Method
- - 'updateRecord' Method
- - 'deleteRecord' Method
- Using this Class
- Standard functions
- - db_connect
- - Error Handler
- Summary
ขึ้นไปด้านบน
