I've the following problem:
Table1
serie | dir
Table2
serie | user
I am making a webpage in php to administrate the values in the db.
What I want is that I select all series from table 1 with an checkbox and
that the ones that are in table 2 will have a checked checkbox.
with the mysql running on the server it is not possible to do a subquery.
with a subquery it would be something like:
"select serie from table1 where not in (select serie from table2 where
user=user)"
Is there another way to get these results?
Table1
serie | dir
Table2
serie | user
I am making a webpage in php to administrate the values in the db.
What I want is that I select all series from table 1 with an checkbox and
that the ones that are in table 2 will have a checked checkbox.
with the mysql running on the server it is not possible to do a subquery.
with a subquery it would be something like:
"select serie from table1 where not in (select serie from table2 where
user=user)"
Is there another way to get these results?
Comment