Without any protection, I have the line:
$check = mysql_query("SELECT * FROM school_users WHERE username = '".$_POST['username']."'")or die(mysql_error());
In my php. How would I inject this code? I've tried many other things, but nothing seems to work on injection. does mysql_query have an automatic catch for this?