我会在url查询字符串中设置一个包含所需变量的数组,然后使用http_build_query().
像这样:
$args = array( \'AT\' => \'EN\',
\'AE\' => $current_user->user_email,
\'FN\' => $current_user->user_firstname,
\'LN\' => $current_user->user_lastname,
\'MK\' => 665080128,
\'PW\' => \'miami\',
\'BU\' => \'http://thinkmcat.com/\');
?>
<a href="https://thinkmcat.webex.com/thinkmcat/m.php?<?php echo http_build_query($args); ?>">LINK</a>