I am having issues with the field values building into the URL, The $redir_app feeds across just fine but the field values are not feeding. I am using this code on a button on a form. Any help would be appreciated. This is probably a simple mistake, but I can not see it or figure it out. I have commented the Jason _encode statement, not sure I need it.
// Redirection parameters
$redir_app=‘https://www.google.com/maps/dir/’; // Application
$redir_target=’_parent’; // Target Window
$redir_param=array( // Param list, add as many as needed
“address”=>"{address}",
“city”=>"{city}",
“state”=>"{state}"
);
//$redir_param=json_encode($redir_param);
sc_redir($redir_app,$redir_param,$redir_target);
Thank you in advance for any help.
Dr. Tim