the situation is like this, this is for desease detection, to make it simple, there are 2 table which are symptom and desease.
The desease are determine by its symptom and 1 desease may have 1 or more symptom.
the table above is for the desease table, sy_id is for symptom id(fk from symptom...
thanks for reply guys, but the table dont actually like above,for some case, it can be like below
-------------------------
id(pk) | sy_id | dm_id
-------------------------
1 | 1 | 1
2 | 2 | 1
3 | 1 | 2
4 | 4 | 3
5 | 1 | 4...
my query is
"select dm_id from desease_details where sy_id = $val and sy_id = $val2"
this query sure not working, anyone have idea how i can solve this?
thnx
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.