Skip to content

Instantly share code, notes, and snippets.

View LennonSantos's full-sized avatar
🏎️

Lennon Bueno LennonSantos

🏎️
View GitHub Profile
@rohman
rohman / database.php
Created April 17, 2013 23:21
CodeIgniter ODBC Connection
<?php
$active_group = 'default';
$active_record = FALSE;
$db['default']['hostname'] = 'Driver={SQL Server};Server=127.0.0.1;Database=databasenya; Uid=sa;Pwd=sa;';
$db['default']['username'] = 'sa';
$db['default']['password'] = 'sa';
$db['default']['database'] = 'databasenya';
$db['default']['dbdriver'] = 'odbc';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = FALSE;
Estados do Brasil por Sigla
AC
AL
AP
AM
BA
CE
DF
ES