can someone please help me with coding.
I need to create a dropdown menu with the options being the category the user has inputted into a file upload page.

Creating a drop down can be achieved just with HTML. I’m confused what you need PHP for, unless I’m misunderstanding you? Can you show us the code you have so far so I can see exactly what you’re trying to do?

commented: <div id="artdrop"> <form> <select id="menu" onchange="navigate();"> <option value="#">Select category...</option> <?php $db = mysqli_connect("localho +0