les09 get dept tm





Getting Department Information










The interactions in this eCourse require Javascript to be enabled.



 

Getting Department Information


previous|next





The construct_departments() function:




Builds the query to obtain the department records



Uses a query that joins the DEPARTMENTS, EMPLOYEES, LOCATIONS, and COUNTRIES tables to obtain extended information about a department, including the number of employees



Calls ui_print_header(), ui_print_department(), and ui_print_footer() to generate the response page



Note: To display department data, construct_department() calls ui_print_department(), which creates a hypertext link with the "number of employees" field. When the user clicks the generated link, it issues an HTTP request to the hr.php code with ?do=showemp and the associated department ID so that construct_employees() is called to display the employees for that department.

 









Wyszukiwarka

Podobne podstrony:
les09 getstart tm
les09 page handling tm
les09 cre ui tm
les09 disp?pt tm
les09 create? logic tm
les09 crectl logic tm
les09 credb connect tm
les09 login page tm
les09 logout page tm
les09 create? conn prop tm
les09 get emp tm
les09 cregen query tm
les09 disp emp tm
TM 08 termin I
les09 styles css
Fanuc 11M [TM] CQ07 16 2
TM UART
Ulotka Pytania dotyczące TS, ETPCz, TM
6 TM w1

więcej podobnych podstron