This syntax fails:
$MM_redirectLoginSuccess = "displaylist.php?id=<?php echo
$row_userlist['userid']; ?>";
This simplified syntax works, but of course is not useful:
$MM_redirectLoginSuccess = "displaylist.php?id=1";

The code was generated by MM behaviours. I am trying to log a user in and if
successful open up displaylist.php send the userid as a URL parameter.

The syntax is wrong but I cannot figure out how to correct it.