I have a database with 2 tables: Images and Keywords.
In the Keywords table i have the following data:
IdKeyword_____IdImage_________Keyword
------------------------------------------------
1____________10__________forest wood elf green
2____________11__________city steel car yellow subway
3____________12__________bird computer blue sky
On my website the user enters in a textbox these words: forest city bird
The select query would be something like this:
Select i.* from Images i, keywords k where i.idimage=k.idimage and k.keyword like forest city bird
This query doesnt return anything. I know why, but I
In the Keywords table i have the following data:
IdKeyword_____IdImage_________Keyword
------------------------------------------------
1____________10__________forest wood elf green
2____________11__________city steel car yellow subway
3____________12__________bird computer blue sky
On my website the user enters in a textbox these words: forest city bird
The select query would be something like this:
Select i.* from Images i, keywords k where i.idimage=k.idimage and k.keyword like forest city bird
This query doesnt return anything. I know why, but I