Jump to content

Dynamic URL generating


sanelv

Recommended Posts

Hi, I need to pass a dynamic value via a variable to another page. I am sure this sounds simple but when I use the following code the following error appears.

 

$MM_redirectLoginSuccess  variable is passing the assigned value to next page as the url

 

What should i Do,

Code: $MM_redirectLoginSuccess = "list.php?user=<?php echo $row_rsUsers['username']; ?>";

 

Error:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\wamp\www\CRM\login.php on line 53

Link to comment
https://forums.phpfreaks.com/topic/95757-dynamic-url-generating/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.