Posts by Alan Moreira • 21 points
2 posts
-
1
votes1
answer281
viewsA: Log out and refresh page
Try something like that: <a href='session_destroy.php'>Sair</a> And on the Session page put the value you’re comparing as string: if($_GET["deslogar"] == "true") { session_destroy();…
-
1
votes1
answer43
viewsA: Accentuation error database Data Collection
Try it like this: <?php echo utf8_encode($array["nome"]); ?> or: <?php echo utf8_decode($array["nome"]); ?> See the documentation on: http://php.net/manual/en/function.utf8-encode.php…