Prepared statements are useful because preparing "templates" to add the data prevents SQL injections, my question is, how is this possible?
How do prepared statements really work?
After I write a query, bound the params and executed the query, what happens?
I don't think the params are "inserted" in the query, in that case the effect of prepared statements fails... Maybe it uses special delimiters to detect the start and end of the data in the query. If this is right, what they are?