Created
August 16, 2021 19:40
-
-
Save martinius96/30ee7af57dc9d03c065073def3738974 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$con = mysqli_connect("localhost","MENO_POUZIVATELA_DATABAZY","HESLO_POUZIVATELA_DATABAZY","NAZOV_DATABAZY"); | |
// Check connection | |
if (mysqli_connect_errno($con)) | |
{ | |
echo "Failed to connect to DataBase: " . mysqli_connect_error(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment