Re: changing iframe source via php [message #183869 is a reply to message #183827] |
Sat, 23 November 2013 01:43 |
Denis McMahon
Messages: 634 Registered: September 2010
Karma:
|
Senior Member |
|
|
On Thu, 21 Nov 2013 17:23:00 -0500, 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.
What does the parse error say?
> 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??
I suspect you need to refer back to all those posts we've made in the
past about the need to be extra careful with the handling of quote
characters inside string data.
--
Denis McMahon, denismfmcmahon(at)gmail(dot)com
|
|
|