can anybody tell me what is wrong with my sql statement because it runs well if their is only one or but when I put another or it gives nothing to display
"SELECT * FROM tbldoctor_info i, tblmonday m, tbltuesday t, tblwednesday w, tblthursday h, tblfriday f, tblsaturday a, tblsunday u WHERE (i.ID_No = m.RelationDoc_ID OR i.ID_No = t.RelationDoc_ID OR i.ID_No = w.RelationDoc_ID OR i.ID_No = h.RelationDoc_ID OR i.ID_No = f.RelationDoc_ID OR i.ID_No = a.RelationDoc_ID OR i.ID_No = u.RelationDoc_ID)";