These are chat archives for codeigniter-id/codeigniter-id.github.io
Hi @GerardBalaoro, thanks for help me. With this query i recover the values from database correctly but this method isn't good because i can't use correctly html.
SELECT * FROM menus ORDER BY CASE WHEN parent = 0 THEN id ELSE parent END, parent, id
Your latest snippet doesn't work :(
Is correct how i have setted my database for categories and subcategories?