I write simple php script with mysql to try sql injection and it isn't working.
Here is my sql query
$sql = "SELECT * FROM users WHERE id = '$userId'";
echo 'QUERY '. $sql .'<br>';
$userQ = mysql_query($sql);
$user = mysql_fetch_array($userQ);
I try to go to this url
http://localhost/SQL%20In/inside.php?id=apie&userId=1;%20DROP%20TABLE%20users
and it isnt doing anything