Nick Charles wrote:I never said that the php file had to be external, it must be part of the same app (that is, in the same project/directory structure as the PHP file whose code you posted). You can also post to the same PHP file that displayed the data, but you will have to add code to differneitate between the GET dn POST requests.
But my main point was that you need a <form> statement. And you still haven't indicated if you have one or what it is.
Sorry, it seems that I misunderstand you. by the way, I am new to PHP
I added form tag as you see but maybe I don't have idea about using $_POST
Here is my code
I got an error at
Actually I need away to retrive selected value without using submit button.
Thank you so much, I appreciate your help