need help making submit form

Discussion in 'HTML & Website Design' started by TokyoSama, Nov 20, 2013.

  1. #1
    Could someone help me make a simple submit form. Here a link i test but failed to get the video id http://goo.gl/Zki44M

    Here the code i did for file test.php
    <form action="mp4upload.php?id=<?php echo $_GET["id"]; ?>">
    <button type="submit">Close Ad to Continue</button><br>
    </form>
    Code (markup):
    and file mp4upload.php
    <style type="text/css">
    body{margin:0; padding:0;}
    </style>
    <IFRAME SRC="http://www.mp4upload.com/embed-<?php echo $_GET["id"]; ?>.html" FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO WIDTH=640 HEIGHT=480></IFRAME>
    Code (markup):

     
    TokyoSama, Nov 20, 2013 IP
  2. s.molinari

    s.molinari Member

    Messages:
    82
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    45
    #2
    What exactly are you trying to accomplish? Can you explain please?

    Scott
     
    s.molinari, Nov 21, 2013 IP
  3. TokyoSama

    TokyoSama Member

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #3
    I'm trying to make like this http://www.blastvideo.ws/ubox.php?u=924&f=SNSS324S.flv&width=728&height=410 create a submit button using video id like how they do it
     
    TokyoSama, Nov 22, 2013 IP
  4. s.molinari

    s.molinari Member

    Messages:
    82
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    45
    #4
    Ok, I understand now. It seems your id isn't getting passed on.

    Have you tried putting your id in an "<inputtype>" input element?

    <form method="get" action="mp4upload.php">
        <input type="hidden" name="id" value="<?php echo $_GET["id"]; ?>"/>
        <button type="submit">Close Ad to Continue</button><br>
    </form>
    HTML:
    Scott
     
    Last edited: Nov 23, 2013
    s.molinari, Nov 23, 2013 IP