Jump to content

Recommended Posts

What I want to do is the following:

 

- Make a hyperlink a post sort of function (like a form) so I can use $_POST to capture the assigned value in my processing form.

 

- Second problem: the values will be similar and could be the same for the different links needed, how would I distinguish between the user selecting link 1 which has a value of 4 say (from the db), while link 2 also has a value of 4?

exactly... ???

 

What have you tried?

 

I'm not sure I've tried to send link with $_POST before, I'm assuming you mean instead of having a link like

page?=link1.php

I suppose you could have formatted buttons that look like links, but that's a round about way.  What exactly are you processing with a link anyways besides the value of the link?

For the second problem if you do end up using formatted buttons, hidden fields could solve this as well. With Divisions and some CSS and lots of work this is do able with using a series of forms that look like links... and if created dynamically wouldn't be all that time consuming.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.