• This project
    • Loading...
  • Sign in

Alvaro Santillan / turnos_online

Logo codes
Go to a project
Toggle navigation
  • Projects
  • Groups
  • Snippets
  • Help
Toggle navigation pinning
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • turnos_online
  • database.php
  • primera comitiada · 71feba92
    71feba92 Browse Files
    Alvaro Santillan authored 2021-08-03 01:39:58 +0000
database.php 269 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<?php

$server = 'localhost';
$username = 'alvaro';
$password = 'nvidia';
$database = 'turnosdb';

try {
  $conn = new PDO("mysql:host=$server;dbname=$database;", $username, $password);
} catch (PDOException $e) {
  die('Connection Failed: ' . $e->getMessage());
}

?>