I'm working on something for a friend of mine, and he would like it so when you click a link, one thing shows, if you click on another, another shows. easy enough.
Now, I can do this with a form, and I totally get the concept of doing it, but I'm wondering how to do it with links, if at all possible?
Something like
if (link one is pressed) {
echo "this";
}
elseif (link two is pressed) {
echo "that";
}
But I dont know what I'd put inside of the if(), for a link. Is there any code for that?
Thanks