Posts by cristfp • 9 points
1 post
-
-2
votes1
answer39
viewsQ: how to make two inwords in php
Hello, I’m trying to make two inserts in php like this: function insereProduto($conexao, $nome, $cor, $preco){ $sql="insert into produtos (nome, cor) values ('{$nome}','{$cor}')"); $sql2="insert…