Posts by RafaelFern • 36 points
2 posts
-
1
votes2
answers132
viewsA: Problem at the time of popular elements in the database
I believe you’re not putting it in the bank so: INSERT INTO mensagens SET mensagem = ?. Instead of SET use : INSERT INTO mensagens (mensagem) VALUES (:MENSAGEM); $comandoSQL =…
-
1
votes1
answer110
viewsA: session_destroy does not start new session
In login.php you are redirecting to /view/painel.php and in the exit.php is directing to views/login.php. And there is no login.php in this view directory.