If you're wanting the selections to be displayed on the page before the form is actually submitted, you'll have to do it with javascript. PHP is a server-side scripting language.
Also, when you've got some code that's only a few lines you'll get a much better response if you actually post the code instead of zipping it and attaching it.
Here's the code he's got zipped:
<p>please select <select size="1" name="D1">
<option>Value 1</option>
<option>Value 2</option>
</select>
Quantity <select size="1" name="D2">
<option>1</option>
<option>2</option>
</select></p>
<input type=submit value=submit name=hantar>
what i want is user can select from list box & then display it value like
this on the same form
Your Choice :
Value Quantity
Value 1 : 1
Value 1 : 2
after the user satisfied with all the value then they can submit it to the
database...
How to do that hope anyone can help me...
Thank You