Hello,
I'm tring to develop a mysql news scroller for my website.
The problem that i'm facing is that i need to have multiple mysql querys joing together beceuase i have multple categories like:
select * from news where category LIKE '$cat1' order by id desc limit 1
select * from news where category LIKE '$cat2' order by id desc limit 1
select * from news where category LIKE '$cat3' order by id desc limit 1
I don't know how to join then to work fast and lean for the server.