1
My question is simple: Imagine I have a table Nome and in it an attribute nome which is a varchar(10). If I use the command $preparado = $con->prepare("INSERT INTO Nome(nome) VALUES('euTenhoMaisDeDezLetras')"); will return some error by exceeding the limit? what would happen if I did $preparado->execute();?
it will insert only the first 10 characters and the rest of the word will not be inserted
– clone por
You are losing 90% of prepare utility when not performing variable Binding in query...
– bfavaretto
i didn’t use bindParam() for example get faster to understand
– Erick