Se puede agregar otra condicion a al script?
Código PHP:
$result=mysql_query("select * from anuncios WHERE categoria LIKE '%$categoria_selec%' ORDER BY id DESC limit 10")
o sea, que quede mas o menos asi:
Código PHP:
$result=mysql_query("select * from anuncios WHERE categoria LIKE '%$categoria_selec%' and estado LIKE '%$activado%' ORDER BY id DESC limit 10")