A PHP Error was encountered

Severity: Notice

Message: Undefined index: dep

Filename: controllers/Main.php

Line Number: 49

Backtrace:

File: /home/cvsebhauedu/public_html/cv_new/application/controllers/Main.php
Line: 49
Function: _error_handler

File: /home/cvsebhauedu/public_html/cv_new/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/cvsebhauedu/public_html/cv_new/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 569

Backtrace:

File: /home/cvsebhauedu/public_html/cv_new/application/models/Treasury_model.php
Line: 81
Function: query

File: /home/cvsebhauedu/public_html/cv_new/application/controllers/Main.php
Line: 50
Function: get_all_row1

File: /home/cvsebhauedu/public_html/cv_new/index.php
Line: 292
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and techingstaff_info.faculty_ID=faculty_details.faculty_ID and techingstaff_inf' at line 3

SELECT * from personal_data,techingstaff_info,faculty_details,dept_details where techingstaff_info.prs_ID=personal_data.prs_ID AND techingstaff_info.prs_ID!=0 and techingstaff_info.faculty_ID= and techingstaff_info.faculty_ID=faculty_details.faculty_ID and techingstaff_info.dept_ID= dept_details.dept_ID

Filename: models/Treasury_model.php

Line Number: 81