I am a new PHP user, currently i am developing an online food order website for a school project. Basically there will be 2 roles, admin and normal user. I have two pages in my site, home and order food page. Both users will see the same home page, but the content in the order food page would be different for both roles.
My question is, is it necessary to create new files to take care of admin, or, can i just handle it in the same file?
Really appreciate your help!