Hi i need to implement something like, i have a list of values in the ul and li tag, in one page, and a button, so when i click on it on the next page all these ul, li values should get populated into a select option. 
Ex.
form1.php

```
<form method="POST" action="next page.php">
<input type="text" name="designation" value="Manager" />
<label>Location:</label>
<ul>
<li>New Delhi</li>
<li>Mumbai</li>
</ul>
<input type="submit" value="submit" />
</form>

```

once i submit the form1.php, then on the next page.php it should be somethis like this

```
<form method="POST" action="insert.php">
<input type="text" name="designation" value="<?php echo $_POST['designation'] ?>"

<select> all the values from the previos page of ul,li should get populated over here in drop down.</select>
//some more fields will be there in this form.
<input type="text" name="DOB" />
<input type="text" name="phone_no" />

<input type="submit" name="Submit" value="Submit" />

```