Create database tables accordingly and store the data there. Say, you have to show categories, so create a table for categories and store the data there, and when you need to display it fetch it from the database and output as required!