<?php

/*Connection Information for the database
$def_coy - the default company that is pre-selected on login

'host' - the computer ip address or name where the database is. The default is 'localhost' assuming that the web server is also the sql server.

'port' - the computer port where the database is. The default is '3306'. Set empty for default.

'dbuser' - the user name under which the company database should be accessed.
  NB it is not secure to use root as the dbuser with no password - a user with appropriate privileges must be set up.

'dbpassword' - the password required for the dbuser to authorise the above database user.

'dbname' - the name of the database as defined in the RDMS being used. Typically RDMS allow many databases to be maintained under the same server.
'collation' - the character set used for the database.
'tbpref' - prefix on table names, or '' if not used. Always use non-empty prefixes if multiply company use the same database.
*/


$def_coy = 0;

$tb_pref_counter = 3;

$db_connections = array (
  0 => 
  array (
    'name' => 'Amax Apartment',
    'host' => 'localhost',
    'port' => '',
    'dbname' => 'avemari2_stock',
    'collation' => 'utf8_xx',
    'tbpref' => '0_',
    'dbuser' => 'avemari2_amaka',
    'dbpassword' => 'Nigeria12345',
  ),
  1 => 
  array (
    'name' => 'House 6',
    'host' => 'localhost',
    'port' => '',
    'dbuser' => 'avemari2_amaka',
    'dbpassword' => 'Nigeria12345',
    'dbname' => 'avemari2_stock',
    'collation' => 'utf8_xx',
    'tbpref' => '1_',
  ),
  2 => 
  array (
    'name' => 'Villa Uno',
    'host' => 'localhost',
    'port' => '',
    'dbuser' => 'avemari2_amaka',
    'dbpassword' => 'Nigeria12345',
    'dbname' => 'avemari2_stock',
    'collation' => 'utf8_xx',
    'tbpref' => '2_',
  ),
);
