Posts by Leonardo Oliveira • 11 points
1 post
-
1
votes3
answers1926
viewsQ: How to put a php variable in a mysql query?
For example: $query = "INSERT INTO tabela (data, assunto, destino, elaborado) VALUES('{$data}', '{$assunto}', '{$destino}', '{$elaborado}')"; Where is tabela, i want to put a variable in place,…