Where am I going wrong?

Heya guys,

I’m stuck. How can i manipulate the code below so that the return value is sent to my thank you page (www.website.com/thankyou.php) instead of the root homepage, while keeping everything else intact. The code to my paypal return value is listed below.

<input type="hidden" name="return" value="<?=$cfg->wwwroot."registration-confirmed-".base64_encode(serialize(array($user->id, 1)))?>">

Any help is appreciated.

Thank You

Have… you tried just putting “http://www.website.com/thankyou.php” into that value?

I’m not sure how that would be done… I’ve tried this but it didn’t work…

<input type="hidden" name="return" value="<?=$cfg->http://www.website.com/thankyou.php."registration-confirmed-".base64_encode(serialize(array($user->id, 1)))?>">

I replaced ‘wwwroot’ with ‘http://www.website.com/thankyou.php’ and no luck.

I mean literally…
<input type=“hidden” name=“return” value=“http://www.website.com/thankyou.php”>