Ops, that example code has a typo. It should be:
# make a tcl array of posted data (already quoted):
qf_get_inputs_as_array input_array
# put your code here
# However the form represents the data, it is received as if it were written in tcl like this:
# set input_array(name) $value
# pass the data back to php app via internal redirect:
set query_key_list [array names input_array]
foreach query_key $query_key_list {
rp_form_put $query_key [ad_urlencode $input_array(${query_key})]
}
rp_internal_redirect /packages/q-wiki/www/example-php-post-name-2
ad_script_abort