in my project i am using multiple dropdown boxes in a single page.so can u help me how to get values from those dropdown listboxes.here me used nearly 400 dropdownlist boxes.so it is very difficult to use 400 variables to retrive value from dropdownlistboxes.so me used array technology.bt here me not able to use array variable in get or post method.it showing error.so can u help me plz its very aurgent!

You can use extract.

@extract($_POST);

This will convert all of your form names to variables.
You can then access each variable by using the following:

foreach($_POST as $key => $value){
echo "$key=$value<br>";
}

In this code, $key is the variable name. $value is the value of the variable submitted from the form.
Obviously, you'll need to add in some major validation.

commented: very smart.... +2
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.