Created
January 9, 2018 19:41
-
-
Save zerocarbthirty/6f22c829b47b3e5e8394a1218d9e4b44 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
function greeting() { | |
$mysql_host = "..."; | |
$mysql_user = "..."; | |
$mysql_pass = "..."; | |
$connect = mysqli_connect("$mysql_host", "$mysql_user", "$mysql_pass"); | |
$string = "Greetings nerd..."; | |
return($string); | |
} | |
$greeting = greeting(); | |
var_dump($connect); | |
NULL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment