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.

Recommended Answers

All 2 Replies

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
Select category...
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.