Posts by Bruno Qualhato • 11 points
1 post
-
1
votes3
answers770
viewsA: Send data to Database according to <select> tag via PHP
<?php $select = $_POST['seu_select']; switch ($select) { case 0: $sql = "INSERT INTO tabela1(campo1,campo2,campo3) VALUES ('valor1', 'valor2', 'valor3')"; …