Re: changing iframe source via php [message #183833 is a reply to message #183827] |
Fri, 22 November 2013 00:21 |
invalid
Messages: 1 Registered: November 2013
Karma:
|
Junior Member |
|
|
On Thu, 21 Nov 2013 17:23:00 -0500, richard <noreply(at)example(dot)com> 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.
>
> 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??
Easy to do in JavaScript. Impossible to do in php.
---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
|
|
|