Jump to content

Passing values with links!


pthurmond

Recommended Posts

I want to know if there is a way to pass a value to a script depending on which link you click on.
I am doing this for a report generation system and want to use the same script for two different reports. Both search for a person based on the first and last names, but they search different tables on the same db. I have two links on the same page and I want to just link to the same script, telling the script which link was clicked so I knows which table to search. Is this possible?

Thanks,
Patrick
Link to comment
https://forums.phpfreaks.com/topic/27038-passing-values-with-links/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.