FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » changing iframe source via php
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
changing iframe source via php [message #183827] Thu, 21 November 2013 22:23 Go to previous message
Mr Oldies is currently offline  Mr Oldies
Messages: 241
Registered: October 2013
Karma:
Senior Member
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??
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PEAR is dead?
Next Topic: PHP functions to convert markup efficiently
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 00:16:26 GMT 2024

Total time taken to generate the page: 0.04323 seconds