|
Posted by Jonathan N. Little on 01/13/08 03:43
araminska wrote:
> On Sat, 12 Jan 2008 19:44:47 +0000, Adrienne Boswell wrote:
>
>> Gazing into my crystal ball I observed araminska <none@nowhere.com>
>> writing in news:13oi5qscp6rucfd@corp.supernews.com:
>>
>>> An example link is <a href="subpage.pl">Info</a> and obviously calls a
>>> perl script with no options. I would like to call that same script
>>> from a list of links but with some different value that the script
>>> would be able to use to bring up the proper info.
>> <a href="subpage.pl?q=value">Info</a> then have your script look at the
>> querystring.
>>
>
> Thanks much. Worked great. Althought, interestingly enough, now that I
> know how to do it, I STILL can't find the answer in either of my HTML
> books. That method appears to be so common that everybody knows about it
> and mentioning it in a manual is not needed, or it is never used and nobody
> cares.
Well is not strictly HTML, more a matter of scripting. You will find in
books about JavaScript and server-side PHP, Perl...
Google "query string" for more info.
<a href="subpage.pl?q=value">Info</a>
works like a form via GET method
<form action=subpage.pl" method="get">
<div>
<input type="hidden" name="q" value="value">
<input type="submit" value="Info">
</div>
</form>
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|