Hi ppl... im new in the html world and i want to find out how to convert this html code to a simple link that will take my visitors without using the search box... this is the code..<br />
<br />
<form action="http://www.ropile.com/" method="post"><br />
<input type="hidden" name="search" value="true"><br />
<input type="hidden" name="ref" value="xxxx"><br />
<table width="486" cellspacing="0" height="60"><br />
<tr><br />
<td bgcolor="#cccccc"> <font color="white"><b><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif" size="3">Search<br />
the web</font></b></font> </td><br />
</tr><br />
<tr bgcolor="#eeeeee"><br />
<td><br />
<center><br />
<input type="text" size="25" name="search_query"><br />
<input type="submit" name="Submit" value="Search"><br />
<font size="1"><br><br />
<br><br />
<font face="Verdana, Arial, Helvetica, sans-serif"><b><a href=http://www.htmlforums.com/archive/index.php/"http://www.ropile.com/?rref=xxxx"><font color="#000000">Powered<br />
by RoPile.com</font></a> <font color="#eeeeee">...</font> <a href=http://www.htmlforums.com/archive/index.php/"http://www.ropile.com/addurl.html?rref=xxxx"><font color="#000000">Add<br />
your web site</font></a><font color="#eeeeee"> ...</font> <a href=http://www.htmlforums.com/archive/index.php/"http://www.ropile.com/affiliates.html?rref=xxxx"><font color="#000000">Become<br />
an affiliate</font></a></b></font></font><br />
</center><br />
</td><br />
</tr><br />
</table><br />
</form><br />
<br />
<br />
So instead of using the search box, have set link for diffent categories....<br />
<br />
P.S.<br />
<br />
Sorry if i make any mistake English is my second lenguage.. thanks<br />
<br />
:gunner:<!--content-->It depends on the server side script receiving the results of the submission. In php for example you can distinquish between POST variables (e.g. forms submitted with method="post") and GET variables (e.g. forms submitted with method="get").<br />
<br />
A GET variable is often taken from the url, e.g.<br />
<form method="get" action="page5.html"><br />
<input type="text" name="name" value="man"><br />
<input type="submit" value="submit"><br />
</form><br />
<br />
above form will produce a url like this page5.html?name=man<br />
<br />
However, with post values (depending on scripting lanugage) the variables are not attached via url. They are captured in different manners (in php: $myvar = $_POST['name']; )<br />
<br />
You need to know more about how the receiving script works.<br />
<br />
If you want to try, do this:<br />
<br />
<!-- m --><a class="postlink" href="http://www.ropile.com/?rref=xxxx&search=true&ref=xxxx&search_query=somevaluehere">http://www.ropile.com/?rref=xxxx&search ... evaluehere</a><!-- m --><br />
<br />
It may not work, however, depending on how the receiving server side script works.<!--content-->
<br />
<form action="http://www.ropile.com/" method="post"><br />
<input type="hidden" name="search" value="true"><br />
<input type="hidden" name="ref" value="xxxx"><br />
<table width="486" cellspacing="0" height="60"><br />
<tr><br />
<td bgcolor="#cccccc"> <font color="white"><b><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif" size="3">Search<br />
the web</font></b></font> </td><br />
</tr><br />
<tr bgcolor="#eeeeee"><br />
<td><br />
<center><br />
<input type="text" size="25" name="search_query"><br />
<input type="submit" name="Submit" value="Search"><br />
<font size="1"><br><br />
<br><br />
<font face="Verdana, Arial, Helvetica, sans-serif"><b><a href=http://www.htmlforums.com/archive/index.php/"http://www.ropile.com/?rref=xxxx"><font color="#000000">Powered<br />
by RoPile.com</font></a> <font color="#eeeeee">...</font> <a href=http://www.htmlforums.com/archive/index.php/"http://www.ropile.com/addurl.html?rref=xxxx"><font color="#000000">Add<br />
your web site</font></a><font color="#eeeeee"> ...</font> <a href=http://www.htmlforums.com/archive/index.php/"http://www.ropile.com/affiliates.html?rref=xxxx"><font color="#000000">Become<br />
an affiliate</font></a></b></font></font><br />
</center><br />
</td><br />
</tr><br />
</table><br />
</form><br />
<br />
<br />
So instead of using the search box, have set link for diffent categories....<br />
<br />
P.S.<br />
<br />
Sorry if i make any mistake English is my second lenguage.. thanks<br />
<br />
:gunner:<!--content-->It depends on the server side script receiving the results of the submission. In php for example you can distinquish between POST variables (e.g. forms submitted with method="post") and GET variables (e.g. forms submitted with method="get").<br />
<br />
A GET variable is often taken from the url, e.g.<br />
<form method="get" action="page5.html"><br />
<input type="text" name="name" value="man"><br />
<input type="submit" value="submit"><br />
</form><br />
<br />
above form will produce a url like this page5.html?name=man<br />
<br />
However, with post values (depending on scripting lanugage) the variables are not attached via url. They are captured in different manners (in php: $myvar = $_POST['name']; )<br />
<br />
You need to know more about how the receiving script works.<br />
<br />
If you want to try, do this:<br />
<br />
<!-- m --><a class="postlink" href="http://www.ropile.com/?rref=xxxx&search=true&ref=xxxx&search_query=somevaluehere">http://www.ropile.com/?rref=xxxx&search ... evaluehere</a><!-- m --><br />
<br />
It may not work, however, depending on how the receiving server side script works.<!--content-->