Skip to content

Instantly share code, notes, and snippets.

@Lulzx
Created February 23, 2018 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lulzx/1b94cb425fd400fa4633427dcb04e462 to your computer and use it in GitHub Desktop.
Save Lulzx/1b94cb425fd400fa4633427dcb04e462 to your computer and use it in GitHub Desktop.
phpshit
<?php
$servername = "localhost";
$username = "username";
$password = "password";
$conn = new mysqli($servername, $username, $password);
if ($conn->connect_error)
{
die("Connection failed: " . $conn->connect_error);
}
echo "Connected successfully";
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment