les09 create db logic tm





Creating the Database Access Logic










The interactions in this eCourse require Javascript to be enabled.



 

Creating the Database Access Logic


previous|next





Sheila's team creates the database access logic in a file called hr_db.inc. The hr_db.inc include file declares the following functions:




db_connect() to create and return a database connection



db_do_query() to execute a generic query and return a result set



db_error() to store error information as an array in the session state



The database access layer performs error checking and handling. If an error occurs, the error message is stored as an array structure in the session state of the PHP application. The user interface (UI) functions remove the error information from the session after it displays the error information.
Click hr_db.inc to view the complete PHP file.

 









Wyszukiwarka

Podobne podstrony:
les09 crectl logic tm
les09 create? conn prop tm
les09 page handling tm
les09 cre ui tm
les09 disp?pt tm
les09 credb connect tm
les09 get?pt tm
les09 login page tm
les09 logout page tm
les09 get emp tm
les09 create app php wli
les09 cregen query tm
les09 disp emp tm
create integration workspace tm?723B43
les09 getstart tm
Instrukcja Programowania Zelio Logic 2 wersja polska
create?tor report^E0EC2C
create branch

więcej podobnych podstron