changing the content of iframes dynamically

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Liyakat Ali
    New Member
    • Feb 2010
    • 1

    changing the content of iframes dynamically

    Hello .......
    I have 2 frame in my page there are two types of user of my site i want that my iframes content will change dynamically according to user type after they log in to the site using php. Please anybody help me ...
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Hey.

    Then you need to alter the location of the content your frames are showing, depending on the type of user.

    What have you tried to do so far? Show us what exactly is causing your problem. (Note that we will not read through hundreds of lines of code to locate it for ourselves. You will have to point it out.) Any error messages or unexpected behavior should also be noted. (In detail!)

    If you are having a hard time getting started with this I would recommend you:
    1. Go over the PHP basics again, as this is merely a matter of echoing a different string depending on a variable. (PHP 101)
    2. Read up on how exactly the <iframe> works. There is no shortage of info available out there, if you are willing to spend a couple of minutes (seconds, even) looking.

    Comment

    Working...