<?php
echo "&name1=" . $_REQUEST['param1'] . "&name2=" . $_REQUEST['param2'] . "&";
?>
Note: this would be possibly insecure and should require validation of the $_REQUEST values used, and possibly the use of [man]urlencode[/man] if these values are possibly strings with characters that need to be encoded for use in a URL query string.