Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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