Portions created by the Initial Developer are Copyright (C) 2008-2012 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane */ function persistform($formarray) { // Remember Form Input Values if(is_array($formarray)) { $content .= "
\n"; foreach($formarray as $key => $val) { if($key == "XID" || $key == "ACT" || $key == "RET") continue; if ($key != "persistform") { //clears the persistform value $content .= "\n"; } } $content .= "\n"; //sets persistform to yes $content .= "\n"; $content .= "
\n"; } return $content; } //persistform($_POST); //persistform($_GET); ?>