Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Passing variable into a script
September 3, 2009, 8:04 am
rate this thread
I have a few links which are going to be used by the same script. I
would like the script to recognize which link was used. I know that I
can pass values into script by forms and then read them from super
globals $_POST or $_GET whichever method was used.
How can I do that without forms. Is there any method to do so? Can I
inside the tag:
<a href="script.php">ble ble</a>
somehow able to pass anything into script?
- Captain Paralytic
September 3, 2009, 11:25 am
Re: Passing variable into a script
if you are not looking to reload the page when this data is sent:
try cooking up something with AJAX
The Developer Network
PHP Classes and Snippets