Jump to content

Admin Panel


raghukalia2005

Recommended Posts

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.

 

Link to comment
https://forums.phpfreaks.com/topic/167492-admin-panel/
Share on other sites

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

Link to comment
https://forums.phpfreaks.com/topic/167492-admin-panel/#findComment-883290
Share on other sites

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...

Link to comment
https://forums.phpfreaks.com/topic/167492-admin-panel/#findComment-885820
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.