It would be helpful to specify the "not work": Is there any redirect at all?
If possible, please check which URL is actually called by the redirect. If it's not visible in the browser address bar, you can see it in the browser's developer toolbar -> network (terms slightly different, depending on your browser).
If it's just a wrong ID arriving at the panel provider, my assumption is that the brackets around the %encID%
should be removed:
redirect('http://www.infovalidator.com/ic/survey.php?autoAnswer[292697][0]=0&encID=%encID%');
Please also clearify if the brackets around the numbers (after autoAnswer
) are correct. I guess that the provider used them just to make clear that something must be inserted:
redirect('http://www.infovalidator.com/ic/survey.php?autoAnswer2926970=0&encID=%encID%');