How can I get Style=“Display:None” value by using POST methord in PHP

How can I get Style=“Display:None” value by using POST methord in PHP

This is my php code.

This is my php code.

if (isset($_POST['submit'])) {
$uname = $_POST['uname'];       
$pass= md5($_POST['pass']);
$level = $_POST['ulevel'];
$role = $_POST['urole'];}

This is HTML code

<div id="alevel" style="display: none">
    <select id="select" name="urole">
        <option value="">Select Role</option>
        <option value="admin">Admin</option>
        <option value="editr">Editor</option>
    </select>
</div>

I want after submit select role in urole value POST to $role

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

Autocomplete Textbox with Javascript, PHP and MySQL

In this guide, we will walk through how to add autocomplete to a textbox, with the help of jQuery and also an alternative that works with just vanilla Javascript.

Building a minesweeper game using Javascript, HTML and CSS

In this article, you'll learn how to build minesweeper using JavaScript, HTML and CSS. I also used jQuery, a JavaScript library that is helpful for interacting with html. Whenever you see a function call with a leading dollar sign, that is jQuery at work

How to Upload file using JavaScript and PHP

In this tutorial, I show how you can upload a file using JavaScript AJAX and PHP.