apologies if this seems like a silly question. I'm very new to coding in general and have little to know knowledge of how write what I'm trying to put together.
I just set up a very simple admin page for my site using php and a mySQL database. I'd like to be able to make some basic fields in the admin page to adjust small details in the sidebar of my site. I currently have my sidebar in a seperate php file, so in order for the change to be site-wide all I would have to do is edit "sidebar.php". What do you think would be the best way to tackle this? My goal is to keep this as simple as possible.
Thanks!
you have to generate the sidebar of your website dynamically
for example you can create a table in your database that contains a list of your sidebar links, then from your file "sidebar.php" you have to call the database and print out these links or ids and in the admin panel you will have to create a page with form fields to modify the sidebar table in the database (not the file itself) like update/modify/add links