I have a snippet of mysql which is filled in with two variables:
SELECT `download` FROM `images` WHERE `owner_un`='$owner' AND `url`='$url'
The $url
variable comes directly from a URL variable. This input should only ever contain alphanumeric characters, if this helps.
Thanks for any help