This is a follow up question of How to get URL argument in Page body by PHP? .
Objective: Site content editor needs to show dynamic content, based on a URL parameter, i.e.:
URL:
http://example.com/node/1?Name=John
In Page node:
<?php if (isset($_GET['Name'])) { ?>
<?php print "Dear " . $_GET['Name'] . ","; ?>
<?php } else { ?>
Hello,
<?php } ?>
blah blah blah ...
You may imagine the URL is from a link inside an EDM message. Both the EDM message and the Page content is maintained by the same content editor.
So, what is the Drupal way to archive this?