Well you could use a url querystring like <A href="mypage.php?myvariable=myvalue"> but that's pretty much static unless you do some javascript content replacement.
This isn't PHP, actually. There's a javascript function submit() that allows you to do this. You access this method by using something akin to:
<a href='#' onClick='document.formname.submit()'>Your text</a>
&gt;a href="tooperate.php?param=1""&lt;text link&gt;/a&lt;<br>
When 1 is parameter (from variable) to send to tooperate.php
I asked this question when I tried to build a search engine. I want to display the search return result in several pages like normal search engine will do.
The search front page contains a form which has three input fields. when user hit the search submit button, I need the search result display in front of the search form. If matches more than say 10, there should be a link says sth like "next page", user can either go to next page, or do a new search.
I still haven't found a good solution for that, even I tried all the methods.
What is the standard way of doing that anyway? Could anyone tell me?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.