自己练习用的SQL注入脚本

 : {$sql}";
    echo "
"; echo "
"; $result=mysql_query($sql); echo " "; while($row = @mysql_fetch_array($result)){ echo " "; } echo "
Id Username Password
{$row['id']} {$row['name']} {$row['password']}
"; echo mysql_error(); } mysql_close($conn);

你可能感兴趣的:(PHP)