Der...of course. Thanks Ron! I knew the answer was simple. :-)

-Ben

On 6/8/06, Ron Clark <[EMAIL PROTECTED]> wrote:

why not create an array with the keys in the order you want ( $array=
array(value1,value2,....). Then loop through the array and use the
values as keys to the $_POST variable and perform your processing that way.

foreach ($array as $value) {
    if (isset($_POST[$value]) {
        do something;
    }
}


--
Ron Clark
System Administrator
Armstrong Atlantic State University

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to