links and variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings!

I have a page that has several links that point to the same page.  I want to
pass a variable to the linked page depending on which link the user clicks
to only display a result set that is relevant to the link clicked.  I know
clicking on a link does not submit the page, so there would not be a $_POST
value assigned.   Is there a way to pass a hidden value through a link
without requiring the submit?

If not, do you think it would make more sense to create three seperate pages
for the link to point to?

Or put form tags around the content and leave the action blank and then just
use the javascript "onClick form.action='mypage';" ??

<tr>
   <td valign="top"><a href="/Process/Process.php" class="med" >To Be
Corrected</a></td>
   <td><span class="TableLine">Correct erroneous payment
requests.</span></td>
 </tr>
 <tr>
   <td width="235" valign="top"><a href="/Process/Process.php"
class="med">To
     Be Processed</a></td>
   <td width="353"><span class="TableLine">Process received payment
requests.</span></td>
 </tr>
 <tr>
   <td valign="top"><a href="/Process/Process.php" class="med">To Be
Reviewed</a></td>
   <td><span class="TableLine">View payment requests that require special
attention..</span></td>
 </tr>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux