Guest User

Untitled

a guest
Sep 5th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.30 KB | None | 0 0
  1. <?php
  2. function connection() {
  3.     $host = 'localhost';
  4.     $db = 'ditisnietmijndatabasevriend';
  5.     $username = 'root';
  6.     $password = '';
  7.  
  8.     $connection = mysql_connect ($host, $username, $password);
  9. if (!$connection ) {
  10.     die('Could not connect: ' . mysql_error());
  11.     echo 'succesfull connected b1tches';
  12. }
Add Comment
Please, Sign In to add comment