Hi,
I have 2 tables
example:
test1 with (id,name,active,character)
test2 with(id,name,active,color)
and i want to get all the names where active is equal to 1 and ordered by name.
If i want that only for table one i do this:
$query="SELECT name FROM test1 WHERE active=1 ORDER BY name ASC;
But if i want to get the names from test1 and test2 in one Query, how do i do that?
Thx.
m0119975