Is it possible to pass a variable to be part of a IFRAME src link
For Example...
I have a HTML page (not a form) that has dozens of links. These links each open seperate pages that each contain an IFRAME that, in-turn, loads some data from an external client.
The first page has many simple links like:
Code: Select all
<a href="search25951.htm"Code: Select all
<iframe src="http://www.getauto.com/viewinventory.html?dealer_id=25951" scrolling="yes" name="results" id="results" width="810" height="625" marginwidth="0" marginheight="0" hspace="0" vspace="0" align="top" frameborder="0"></iframe>The problem is I have hundreds of these such links and I have been creating seperate "IFRAME" pages for each of these.
Would it be possible to write a single PHP page that could include an IFRAME and pass the dealer_id number as a variable to this page's IFRAME src?
I hope I am being clear on what I want to do...
If anyone could show me an example of how that would be done it would save me alot of work. Thanks...
--Tim