PDA

View Full Version : Macro within a webpage?



brettinok
07 Aug 2009, 02:55 PM
I am looking for a solution for an intranet page that I am putting together. My background is much more graphics, and much less HTML/web coding, so pretend like I don't know what I'm doing.

I am trying to find a way to hyperlink to information on a knowledge base that we use in the company I work for. The problem is the site is using PHP or some other script language, and when I link to a searched page, it just brings up the default search.

What I would like to find is a way to hit a hyper link, and have that link open the page and run the search that I want. If there is a macro(or something similar, I might be using the wrong terminology here), I would love to see some documentation on how to do this.

liam_tmt7
07 Aug 2009, 05:21 PM
When the search string is submitted it should be generated in the address bar. For example, this topic is showthread.php?t=32013

Anything after the ? is the unique identifier.

So if you have a search script that runs search.php and you search for "my name" the search should parse this as a url. i.e search.php?=my+name

Does this answer your question?

Liam