$_COOKIE['session_id'], ); foreach ( $params AS $param ) { $change_pkg[$param] = $_POST[$param]; } $results = $freeside->change_pkg($change_pkg); } # if ( $results->{'error'} ) { # $action = 'customer_change_pkg'; # return { # $cgi->Vars, # %{customer_change_pkg()}, # 'error' => ''. $results->{'error'}. '', # }; # } else { # return $results; # } ## reload below except pkgnum if ( isset($results['error']) && $results['error'] ) { $error = $results['error']; # header('Location:services.php?error='. urlencode($error)); # die(); } #$pkgnum = $results['pkgnum']; #header("Location:services.php"); # #pkgnum ? ## end reload ?> Package Successfully Changed To ""