problem occures in if condition
i am tring to give condition, but it cant give appropriate result.

like 

if($this->data['EmployeeExprienceDetail']['file_name']['type'] != 'image/jpeg')
 
is this condition is ok or not...guide me

thanks
problem occures in if condition
===

i am tring to give condition, but it cant give appropriate result.

like 

if($this->data['EmployeeExprienceDetail']['file_name']['type'] != 'image/jpeg')
 
is this condition is ok or not...guide me

thanks