Convert $_POST variables Published under PHP Published on Friday 13th August 2010 foreach($_POST as $key => $value) { $$key = $value; }