raghukalia2005 Posted July 26, 2009 Share Posted July 26, 2009 Hello Friends, I am making website based on jokes..i am new in php...please tell me how to make a admin panel for my website....In my website i have different categories of jokes and i made directory for each category,in each directory i have text file for jokes catgory...and i am fetching my data from directory and read files and display on website..Please let me know how to create admin panel for my website... Thanks With Regards. Quote Link to comment https://forums.phpfreaks.com/topic/167492-admin-panel/ Share on other sites More sharing options...
vineld Posted July 26, 2009 Share Posted July 26, 2009 Read up on basic sql and php because you are pretty much asking someone to do all the work for you... Quote Link to comment https://forums.phpfreaks.com/topic/167492-admin-panel/#findComment-883223 Share on other sites More sharing options...
raghukalia2005 Posted July 26, 2009 Author Share Posted July 26, 2009 dear sir,, i know mysql please tell me how to create my website panel. thanks and regards Quote Link to comment https://forums.phpfreaks.com/topic/167492-admin-panel/#findComment-883287 Share on other sites More sharing options...
vineld Posted July 26, 2009 Share Posted July 26, 2009 Obviously you do not know how to use sql along with php, that you will need to learn. There are hundreds of good tutorials. No-one is going to just give you an admin panel... Basically what you want to do is: 1. Create menu options of what you want to be able to do in the admin panel 2. Select data from the database accordingly 3. Display the selected data as you wish 4. Display forms with database output in order to be able to update selected data 5. Retrieve form values and update the database accordingly Quote Link to comment https://forums.phpfreaks.com/topic/167492-admin-panel/#findComment-883290 Share on other sites More sharing options...
Adam Posted July 29, 2009 Share Posted July 29, 2009 As vineld is getting at, I'd not use text files to store your jokes as it makes creating things, like an admin panel, much more complicated. Store your jokes in a database along with the categories. Look into relational databases and how they're used, think how they could be used in your situation. I'd also recommend looking into mod_rewrite so you don't have to maintain a set of directories. Once you have a much better setup the admin panel will be a lot easier work... Quote Link to comment https://forums.phpfreaks.com/topic/167492-admin-panel/#findComment-885820 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.