Posts by Sandro A. • 46 points
2 posts
-
2
votes1
answer61
viewsA: Function valid for all pages
You can use the PHP "auto_prepend_file" directive, this will include your logic on all pages.
-
1
votes3
answers104
viewsA: PHP variable title
<?php $host = 'localhost'; $usuario = 'root'; $senha = ''; $banco = 'sua_database'; $porta = 3306; $charset = 'utf8'; // ou pode ser latin1 - depende do charset que…