Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-06-2013, 07:31 PM   PM User | #1
SpongeRob
New Coder

 
Join Date: Mar 2012
Location: North West
Posts: 14
Thanks: 6
Thanked 0 Times in 0 Posts
SpongeRob is an unknown quantity at this point
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
SpongeRob is offline   Reply With Quote
Old 01-06-2013, 08:04 PM   PM User | #2
tempz
Regular Coder

 
Join Date: Jul 2012
Location: London
Posts: 436
Thanks: 4
Thanked 80 Times in 80 Posts
tempz is an unknown quantity at this point
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://"
tempz is offline   Reply With Quote
Users who have thanked tempz for this post:
SpongeRob (01-06-2013)
Old 01-06-2013, 09:00 PM   PM User | #3
SpongeRob
New Coder

 
Join Date: Mar 2012
Location: North West
Posts: 14
Thanks: 6
Thanked 0 Times in 0 Posts
SpongeRob is an unknown quantity at this point
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..
SpongeRob is offline   Reply With Quote
Old 01-06-2013, 09:16 PM   PM User | #4
tempz
Regular Coder

 
Join Date: Jul 2012
Location: London
Posts: 436
Thanks: 4
Thanked 80 Times in 80 Posts
tempz is an unknown quantity at this point
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!
tempz is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:25 AM.


Advertisement
Log in to turn off these ads.