0
I have a manageable menu, where you will need to organize items by ID. Each menu item corresponds to an ID.
$rsm = exesql('SELECT * FROM produtos_categorias WHERE id_pai = 0 AND ativo = "S" ORDER BY categoria ASC')
This is the organization I own. It’s organizing by category. How I would organize by ID, where I can select specific Ids?
I tried to ORDER BY ID[1,2,4,8]
and it didn’t work.
I updated the question.
– Felipe Viero Goulart