I have a php page that I want to pass a variable to on the url as the example
This works fine if I put a value in for teamid but if I forget it/ omit it for any reason I want the script to die so I tried the followingCode:http://server.local/fixtures/display.php?teamid=1
but it kills the code even with the variable in the line.Code:if (!teamid){
die ('No variable entered');
}
How do I do this?

