xbl1 Posted November 18, 2007 Share Posted November 18, 2007 Hi;i'd like to ask you a question.in the page of the "http://www.google.com.au", i typed a word into search function, then it bring to a page with a link of the "http://www.google.com.au/search?hl=en&q=java&btnG=Google+Search&meta="Could'>http://www.google.com.au/search?hl=en&q=java&btnG=Google+Search&meta="Could anyone tell me how i can create a link like the "http://www.google.com.au/search?hl=en&q=java&btnG=Google+Search&meta=" Link to comment Share on other sites More sharing options...
Ingolme Posted November 18, 2007 Share Posted November 18, 2007 WhenEach <input> tag of a form has a name:<form action="page.php" method="get"><input type="text" name="something" /><input type="submit" /></form>For each name a variable will be added to the query string at the end of the url. So imagine we write "Hello" into the text field named "something". The result would look like this in the browser:http:// ...(website path)... /page.php?something=Hello Link to comment Share on other sites More sharing options...
xbl1 Posted November 19, 2007 Author Share Posted November 19, 2007 WhenEach <input> tag of a form has a name:<form action="page.php" method="get"><input type="text" name="something" /><input type="submit" /></form>For each name a variable will be added to the query string at the end of the url. So imagine we write "Hello" into the text field named "something". The result would look like this in the browser:http:// ...(website path)... /page.php?something=Hello Thanks a lot Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.