The statement is not executed until the semi-colon is found, this allow us type MySQL statements in multiple lines, e.g.: show tables
La petición no es ejecutada hasta que el punto y coma es encontrado, esto nos permite escribir peticiones de MySQL en líneas múltiples, por ejemplo: show tables
In the next posts I cover the use of prepared MySQL statements which offer protection against this, even if that was not why they were originally implemented (it was for speed).
En las siguientes publicaciones cubro el uso de sentencias preparadas de MySQL que ofrecen protección contra esto, aún si esto no fue por que fueron originalmente implementadas (fue por velocidad).
There is a similar guide to this but using the regular structured functions from the MysqlI library at Prepared MySQL statements in PHP (structured examples).
Hay una guía similar a esta pero utilizando las funciones estructurales regulares de la librería MysqlI en Sentencias preparadas de MySQL en PHP (ejemplos estructurados).
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple