Adding date variable for login

I can’t figure out where I’m going wrong. Anyone know how I can do this?

[php] $MM_redirectLoginSuccess = “index.php?d=([“print(Date(‘Y-m-d’)”])”;
[/php]

You don’t need the print

[php]$MM_redirectLoginSuccess = “index.php?d=” . date(‘Y-m-d’);[/php]

I’m not sure what the ([date]) were meant to do so I removed them

Thank you so much. That worked perfectly.

Sponsor our Newsletter | Privacy Policy | Terms of Service