I have some pages on my site where I need to display data coming from EITHER a form OR a URL link. This depends on where the user is coming from.
if (($POST['something'] == 1) || ($GET['something'] == 1)) {
do something
}
This seems to capture the variable being sent from both a form and a link URL and it works but again, there must be a better way?