I need help with Iframe using php codes

Discussion in 'Programming' started by Roofa, Aug 8, 2010.

  1. #1
    hi all .

    i want to put my signature as an iframe to load a page and i want to control the hiegh and the weigh of this frame using php codes not html .
    html codes not working on this forum so i need php codes to make it work

    here's the code in html :
    <html>
    <body>
    <iframe src="http://www.ltt.ly" style="height: 100%">
    </iframe>
    <body>
    </html>

    how to set it as php code in my signature to load the page

    thanks in advance :D
     
    Roofa, Aug 8, 2010 IP
  2. vinoth.t

    vinoth.t Peon

    Messages:
    156
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    put like is
    <?php
    $height=50;
    ?>
    <iframe src="http://www.ltt.ly" style="height: <?php echo $height;?>px">
     
    vinoth.t, Aug 9, 2010 IP
  3. Roofa

    Roofa Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks man i really appreciate your help :)
     
    Roofa, Aug 9, 2010 IP