How can I run a query by having a user click on a hyperlink? Is this even possible?
Thanks.
run query by hyperlink
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
ummmm, yes?
one possible way is to send a variable to the url, and check if it is set, if so, run the query
ie.
domain.com?query=yes
one possible way is to send a variable to the url, and check if it is set, if so, run the query
ie.
domain.com?query=yes
Code: Select all
if (isset($_GET['query']))
{
//run query
}