Re: changing iframe source via php [message #183831 is a reply to message #183827] |
Thu, 21 November 2013 23:10 |
David Robley
Messages: 23 Registered: March 2013
Karma:
|
Junior Member |
|
|
richard wrote:
> I'm trying to figure out a way so that I can change the iframe source with
> just simply changing the src value.
> But I keep getting a parse error.
It would help if you told what the parse error was, and showed the relevant
code which is causing the error.
>
> I set the posted value with a link.
> value=1 src=page1
> value=2 src=page2
> value=3 src=page3
> if value is anything else, then the home page is used.
>
> <iframe name="home" id="aframe" src="????">
>
> How od I code where the ? are??
Depends on exactly what it is you want to appear there :-) again, show what
you have tried??
--
Cheers
David Robley
TV is chewing gum for the eyes.
|
|
|