Index-3
dynamic information, 8-5
Easy Connect syntax, 3-6
executing the query, 3-4
fetching all rows, 3-5
navigating records, 4-7
storing employee images, 7-1
tnsnames.ora, 3-6
validating connection, 3-4
date formats in Oracle, 8-5
date() function, 5-5
db_do_query() function, 4-3, 4-5, 4-6, 5-1, 5-2, 5-5,
5-7, 5-18
db_error () function, 4-2
db_error() function, 4-3, 5-17, 5-18
db_execute_statement() function, 5-5, 5-7, 7-4
db_get_employees_rc() function, 6-7
db_get_page_data() function, 4-8, 4-9, 5-7, 5-18
db_insert_thumbnail() function, 7-4, 7-8, 7-9
debugging, 4-3
delete_emp() function, 5-6
department_id variable, 5-13
departments page
combining with employees, 5-13
extending, 4-11
DEPARTMENTS table, 1-1, 3-4, 4-11
deptid parameter, 5-14
DID bind variable, 4-6, 5-13
directives
display_errors, 3-6
error_reporting, 3-6
disconnection, 3-7
display_errors directive, 3-6
do_query() function, 3-4
E
Easy Connect syntax, 3-6
EMPLOYEE_PHOTOS table, 7-4
employees page, 5-1
combining with departments, 5-13
creating, 5-1
extending, 5-3
EMPLOYEES table, 1-1, 3-6, 4-11, 5-5, 5-6, 7-4
enctype attribute, 7-2
environment variables
NLS_LANG, 8-1
NLS_LANGUAGE, 8-3, 8-8
NLS_TERRITORY, 8-3
error_reporting directive, 3-6
errors
assigning to variable, 5-18
handling, 5-18
NLS_LANGUAGE, 8-8
Oracle, 5-25
passing parameter, 5-18
preventing display, 5-18
recovery, 5-17
returning, 5-17
returning from all functions, 5-18
F
files
adding data manipulation logic to anyco.php, 5-3
adding db connection to anyco.php, 3-4
adding navigation to anyco.php, 4-8
anyco_cn.inc description, 1-2
anyco_db.inc description, 1-2
anyco_im.php description, 1-2
anyco_ui.inc description, 1-2
anyco.php description, 1-2
application, 2-9, 3-1
application naming convention, 1-2
creating anyco_cn.inc, 4-1
creating anyco_db.inc, 4-2
creating anyco_im.php, 7-3
creating anyco_ui.inc, 3-2
creating anyco.php, 3-3
employees and departments pages, 5-13
employees page in anyco.php, 5-1
error handling in anyco.php, 5-18, 5-25
extending anyco_ui.inc, 4-11
include file in anyco_ui.inc, 3-3
include files in anyco.php, 4-4
JPEG, 7-9
style.css description, 1-2
testing anyco_ui.inc, 5-3
testing anyco.php, 3-3, 3-5, 4-4, 4-6, 4-10, 4-12,
5-3, 5-10, 5-16, 5-24, 5-25, 6-4, 6-7, 7-5, 7-9
translating HTML and GIF, 8-5
FIRST bind variable, 4-10
format
function in anyco_ui.inc, 4-3
functions
anyco_ui.inc, 3-2
array_push(), 7-5
calc_remuneration(), 6-2
construct_departments(), 4-8, 4-9, 4-12, 5-2
construct_employees(), 5-1, 5-2, 5-13, 6-3
construct_image(, 7-4
construct_insert_emp(), 5-4, 5-15
construct_modify_emp(), 5-5
date(), 5-5
db_do_query(), 4-3, 4-5, 4-6, 5-1, 5-2, 5-5, 5-7, 5-18
db_error (), 4-2
db_error(), 4-3, 5-17, 5-18
db_execute_statement(), 5-5, 5-7, 7-4
db_get_employees_rc(), 6-7
db_get_page_data(), 4-8, 4-9, 5-7, 5-18
db_insert_thumbnail(), 7-4, 7-8, 7-9
delete_emp(), 5-6
do_query(), 3-4
get_dept_name(), 5-14
header(), 7-4
htmlentities(), 3-3
imagecopyresampled(), 7-9
imagecreatefromjpeg(), 7-9
imagecreatetruecolor(), 7-9
insert_new_emp(), 5-5, 5-25, 7-5
isset(), 4-3
modify_emp(), 5-6