2
Code:
<?php include "connection.php"; ?>
<?php
$nome=$_POST['nome'];
$comentario=$_POST['comentario'];
?>
<?php
$insert = "INSERT INTO comentarios_tb nome, comentario"
VALUES('$nome', '$comentario')";
$sql = mysqli_master_query($insert);
echo "<center><h3>Obrigado, seu comentário foi enviado!</center>";
?>
Error of analysis:
syntax error, unexpected VALUES (T_STRING) in C: wamp64 www comments insert comment.php on line 10
There is an error in the $Insert variable line, ideally you would post the code by text here. I recommend you edit the question and add the code so we can copy it and help you!
– user41630
Remove the last quotes from the Insert line
– Miguel
ok I will change my post
– CaNaL Meu MUNDO