The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

It's complicated. Use the PHP to look for a certain name/value pair of the special submit button. When it's present show the page again with more elements. If you want to preserve any values in the form, then you will need to output them on the page as well.

Thanks rajug for reply,
Do u have idea how to do this with js or some js code with php.

Do you want this to be without refreshing the page or it is ok with refreshing too? I think you know with refreshing the page. Just submit the current form on the onChange event of the select (dropdown).
The code to submit the form is:

And after the page is refreshed you can have the number that you have selected, after all you can create the forms or do whatever you want to do with the number.
Note : remember that the way i am talking about is by refreshing the page only. You have to do something else for without refreshing. I have to see more for this.
Does this help you mmarif4u?

Thanks rajug very much.
Ofcourse this will help,
But the problem is that i want it without refreshing the page,
Bcoz i have a form already on this page, when
the user fill in that form,but after refresh the page by that dropdown button,
the fields will be empty.
So also i want that for example that user select 2 from that dropdown list
then two forms will be showed with the existing one which is filled
by the user already.