i have a table with data like this (table A)
id | key | status
-----------------
1 | dg12 | done
2 | dg12 |
and like this (table B)
id | Name | status
------------------
dg12 | Dummy |
i want to update table B status with this condition
if table A status in row 1 and 2 (i means not containing ” ” value) is done then dg12 status in table B is done…
how can i do that?? using php+mysql, anyone can help please??
thanks before
OR