Login   Register  
PHP Classes
elePHPant
Icontem

File: conexao.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Otavio Theiss  >  Paginacao Class  >  conexao.php  >  Download  
File: conexao.php
Role: Configuration script
Content type: text/plain
Description: Arquivo de conexao a base de dados
Class: Paginacao Class
Paginate listings of data retrieved with ADODB
Author: By
Last change:
Date: 7 years ago
Size: 284 bytes
 

Contents

Class file image Download
<?php
    
/**
    * Include do arquivo de configuração da classe ADODB 
    */
    
include('adodb/adodb.inc.php');

    
//Selecionado o drive para o seu banco
    
$conexao ADONewConnection('mysql');   

    
//conectando no banco
    
$conexao->Connect('localhost','user''pass''database'); 
?>