Simple PHP code...?
<p>I have this seemingly simple piece of PHP in my website:</p>

<pre><code>&lt;?php 
$_GET["sid"]; 
if ($sid=="83893")
  $survey="Survey Name";
?&gt;
</code></pre>

<p>That should make <code>$survey</code> "Survey Name," right?</p>

<p>Later in my page, I have</p>

<pre><code>&lt;h3&gt;Thank You For Participating In The &lt;?php echo $survey; ?&gt;&lt;/h3&gt;
</code></pre>

<p>If the user goes to <code>mypage.php?sid=83893</code>, instead of it echoing "Survey Name" it doesn't show anything?  Why is this?</p>

<p>As expected, if I simply put</p>

<pre><code>Thank You For Participating In The &lt;?php echo $_GET["sid"]; ?&gt;
</code></pre>

<p>It writes the <code>sid</code>, but why won't it output <code>$survey</code>?</p>
