Need Simple PHP/HTML Help

Discussion in 'Web Programming' started by basterache3, Jan 9, 2011.

Need Simple PHP/HTML Help
  1. Unread #1 - Jan 9, 2011 at 3:49 PM
  2. basterache3
    Joined:
    Jul 11, 2007
    Posts:
    86
    Referrals:
    0
    Sythe Gold:
    0

    basterache3 Member
    Banned

    Need Simple PHP/HTML Help

    I have 2 php variables and I need them to work with 2 frames:

    Code:
    <?
    $var1 = "abc";
    $var2 = "123";
    ///These are my two php variables
    ?>
    
    I next have two frames like this:

    Code:
    <body>
    <html>
    <frameset rows="*,1" frameborder="no" border="0" framespacing="0">
      <frame src="http://xyz.com/" name="mainFrame" id="mainFrame" title="mainFrame" />
      <frame src="http://987.com" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" title="bottomFrame" />
    </frameset>
    </html>
    </body>
    

    What I need to do is so that the First Frame Does not get its source from a website. I need to set the content of the first frame to be what is in $var1.

    The second frame needs to get its content from the url given in $var2.
     
< Joomla Coding from HTML and CSS | Checkout Form >

Users viewing this thread
1 guest


 
 
Adblock breaks this site