>if (is_array($_POST)) { > foreach($_POST as $name=>$value) { > ${$name} = $value; > } >}
or use this if (is_array($_POST)) { extract($_POST); } Jaski __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php