Page 1 of 1

Retreiving a value from a link

Posted: Tue Jul 11, 2006 12:57 pm
by PastorHank
I have a html page with several links in it. I want to use the info from the link to launch a php script that hits one of my tables in my database. (without using a 'submit') button, where can I find some info on how to accomplish that task? I've googled, but not sure of phrasing of the question (because I haven't gotten anything that I can use...)

TIA

Posted: Tue Jul 11, 2006 2:18 pm
by dull1554
if your trying to submit your forum, maybe use an onClick event to set some of the fields depending on the link and then submit it with javascript

Posted: Tue Jul 11, 2006 3:37 pm
by Ollie Saunders

Code: Select all

<anytag onclick="document.forms[0].submit()">Submit</anytag>