String interpolation: Difference between revisions

Content deleted Content added
The #! and "use" declarations are superfluous, to the point of string interpolation.
Fixed syntax errors in sql injection code.
Line 137:
An example of SQL Injection will be like this:
<source lang="text">
query = "SELECT x, y, z FROM Table WHERE id= '$id' "
</source>
If ''id'' is replaced with ''"'; DELETE FROM Table; WHERESELECT ''* =FROM Table WHERE id='"'', executing this query will wipe out all the data on the local machine.
 
== See also ==