title: PHP url parameters incorrect
body: <p>must be a silly question for experts, but am getting a wrong output for what seems to my inexperienced eyes a correct code:</p>
  
  <pre><code>"www.xxxxxx.com/hdjhs/index.php?id={$id}&amp;email={$email}";
  </code></pre>
  
  <p>it is coming out as:</p>
  
  <pre><code>www.xxxxxx.com/hdjhs/index.php?rid={$rid}&amp;email=xxxx@gmail.com
  </code></pre>
  
  <p>i've checked other links but they seem to focus mainly on hardcoded multiple parameters and not dynamic ones. Am sorry if repeated.
  Thanks!</p>