Hai guys,
I ve tried a query and i dont know what is wrong with the select statement,when i execute this no records are returned…
It seems rollid=3 is the prob records with rollid 3 are not fetched,
select * from tbl_emp_personal_master where dEmp_id ='7'
dEmp_id is int
I even tried removing quotes from '7' to 7 it didnt helpalt text http://img709.imageshack.us/img709/1901/mysqli.jpg
when i repaired my table repair table tbl_emp_personal_master it started to work
Then in your ‘tbl_emp_personal_master’ there’s no dEmp_id with the value ‘7’.
select dEmp_id from tbl_emp_personal_masterquery should tell you whether you have 7 value in the listed values in the result set. Check!