passing a value

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

passing a value

Post by Thunderstone »




We have several custom search pages, and we are passing a value to webinator with the following html

<input type=hidden name="name">

Then the value is used by the vortex search script (altavista lookalike) as follows

<A NAME=bottom>
<H5 ALIGN=right>
<li><a href="http://website.com/$name">search page</a>
</H5>


It is also added to the main search routine again by the vortex script

<A NAME=main>
<FORM METHOD=post ACTION=$urlroot>
<input type=hidden name=name value="$name">


This works great, and each new form continues to pass the $name value when you click the submit button.


But when you click the "next results" link, the value is not passed. This is the current syntax

<IF $us lt $pg> <!-- If we're not the last page -->
<$next = $end> <!-- then give a [Next] link -->
<A HREF=$url/>[Next]</A>
</IF>


How can we get this "$name" value to be passed through to the following search pages?

Mike Clark
super@101super.com



User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

passing a value

Post by Thunderstone »

Post Reply