Created
February 27, 2021 07:50
-
-
Save SmugZombie/2af146b7ba854a53977392d93804deb1 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
<?php | |
$conn = mysqli_connect($db_host, $db_user, $db_pwd, $db_name); | |
function mysql_query($query){ | |
global $conn; | |
return mysqli_query($conn, $query); | |
} | |
function mysql_fetch_assoc($query){ | |
global $conn; | |
return mysqli_fetch_assoc($query); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment