How to get <select>
value from another php file.
Example :
index.php
$text = $_POST['text']
<select id="text">
<option> text 1</option>
<option> text 2</option>
<option> text 3</option>
</select>
data.php
$sql= "SELECT column FROM table where $text='text 1'"
as you can read above, how to get value from $text
in index.php
and use it in data.php