Im using the following code
$query = "SELECT * FROM raids WHERE RaidNum = '".$_GET["RaidNum"]."'";
which catches from /raiddisplay.php?RaidNum=r75
My question is this entirely safe? can the value be exploited in some way to do something nasty and is there ways in which you can cleanse it. I tried to lookup up example usage of it but most were horribly complex and i really didn't know where to start with it. Basically i want to make sure that somebody doesn't purposely put in a value into the browser address bar that could have nasty adverse effects