title: How do i change page elements with php?
body: <p>I want to change an image using a GET variable and switch, but I do not know how to change the image. Here is my html/php.</p>
  
  <pre><code>&lt;img name="foo" src="bar.gif" alt="foobar"&gt;
  &lt;?php
  switch($_GET['ine']) {
  case "foo"
  &gt; I dont know what to put here.
  break;
  
  
  case "bar"
  &gt; I dont know what to put here.
  break;
  }
  
  ?&gt;
  </code></pre>