Is it possible to make two prepared statements in two INSERTs from different tables that I have in a record, that is, one prepared for each one?
For example, I have this:
INSERT INTO datos (nombre, email) VALUES('$nombre', '$email');
INSERT INTO usuarios (usuario, password, id_datos) VALUES('$usuario','$password_hash','$idDatos');
You can declare two prepared statements without having to call one to declare the other: