title: Passing arguments to an iframe
body: <p>I am building an IFrame for the first time and trying to make a widget.</p>
  
  <p>What I am trying to do is let people pass a hike id and then display on a google map everything that happened on that hike.  Right now I am just starting to get into how to make this a widget. </p>
  
  <p>I need to pass the hike id variable into the widget, but I am not sure how, or whether things are done this way.</p>
  
  <p>What I have now is one page called widget.php with this code: </p>
  
  <pre><code>&lt;blink&gt;
          &lt;iframe src="hike_widget.php" width="100%" height="300"&gt;
      &lt;/iframe&gt;
  &lt;/blink&gt;
  </code></pre>
  
  <p>And that is accessed by this URL:
  <a href="http://www.comehike.com/outdoors/widget.php?type=hike&amp;hike_id=108" rel="nofollow">http://www.comehike.com/outdoors/widget.php?type=hike&amp;hike_id=108</a></p>
  
  <p>And then called the hike_widget.php file which displays text.  Is this the general way to do this?  How do I pass the hike id from widget.php to hike_widget.php ?</p>
  
  <p>Thanks,
  Alex</p>