Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class conexao {
- private $conexao;
- public function __construct() {
- $banco_hostremoto = "127.0.0.1";
- $banco_hostname = "localhost";
- $banco_usuario="root";
- $banco_passwd="";
- $banco_nome="flptrevisan";
- $this->conexao = new mysqli($banco_hostname,$banco_usuario,$banco_passwd,$banco_nome);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement