Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Mar 2012
    Location
    North West
    Posts
    14
    Thanks
    6
    Thanked 0 Times in 0 Posts

    What am I doing wrong? <Solved>

    It's got to be something simple that I'm overlooking? I just can't see the problem! - Quick fix please!!

    This works:
    Code:
    <form name="ipform" method="get" action="http://www.axandra.com/free-online-seo-tool/broken-link-checker.php" target="_blank">
      Check These Links: <input type="text" name="url" size="40" VALUE="http://www.TestLink.com/TestPage.html">&nbsp; <input type="submit" value="Check links" class="button" >
    </form>
    This however doesn't work:
    Code:
    <form action="http://www.axandra.com/free-online-seo-tool/broken-link-checker.php" method="get" target="_blank">
        <select name="ipform">
           <option value="http://www.TestLink1.com/TestPage1.html">Test1</option>
           <option value="http://www.TestLink2.com/TestPage2.html">Test2</option>
           <option value="http://www.TestLink3.com/TestPage3.html">Test3</option>
        </select>
        <input type="submit" value="Check links" class="button" />
    </form>
    Thank-you in advance :-)
    Last edited by SpongeRob; 01-06-2013 at 09:07 PM. Reason: Solved, thankyou tempz

  • #2
    Regular Coder
    Join Date
    Jul 2012
    Location
    London
    Posts
    473
    Thanks
    4
    Thanked 86 Times in 86 Posts
    They have a name which is apart of the php script. i.e
    PHP Code:
    <input type="text" [COLOR="Red"]name="url" [/COLOR]size="35" value="http://"

  • Users who have thanked tempz for this post:

    SpongeRob (01-06-2013)

  • #3
    New Coder
    Join Date
    Mar 2012
    Location
    North West
    Posts
    14
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Thanks for your quick reply Tempz, I understand what you've said and it's now working for me!

    OK, you've spotted something that I had missed, so I ammended my code to:

    Code:
    <form name="ipform" action="http://www.axandra.com/free-online-seo-tool/broken-link-checker.php" method="get" target="_blank">
        <select name="url">
           <option value="http://www.TestLink1.com/TestPage1.html">Test1</option>
           <option value="http://www.TestLink2.com/TestPage2.html">Test2</option>
           <option value="http://www.TestLink3.com/TestPage3.html">Test3</option>
        </select>
        <input type="submit" value="Check links" class="button" />
    </form>
    All working properly now!

    Thank-you very much :-)
    Last edited by SpongeRob; 01-06-2013 at 09:06 PM.

  • #4
    Regular Coder
    Join Date
    Jul 2012
    Location
    London
    Posts
    473
    Thanks
    4
    Thanked 86 Times in 86 Posts
    Quote Originally Posted by SpongeRob View Post
    Thanks for your quick reply Tempz, I understand what you've said and it's now working for me!

    OK, you've spotted something that I had missed, so I ammended my code to:

    Code:
    <form name="ipform" action="http://www.axandra.com/free-online-seo-tool/broken-link-checker.php" method="get" target="_blank">
        <select name="url">
           <option value="http://www.TestLink1.com/TestPage1.html">Test1</option>
           <option value="http://www.TestLink2.com/TestPage2.html">Test2</option>
           <option value="http://www.TestLink3.com/TestPage3.html">Test3</option>
        </select>
        <input type="submit" value="Check links" class="button" />
    </form>
    All working properly now!

    Thank-you very much :-)
    You're welcome!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •