Last active
September 26, 2021 19:39
-
-
Save kameltovic/0c73788df9752fa07fced8c5a6792fec to your computer and use it in GitHub Desktop.
[Select mysqli] #php
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
$sql = "SELECT "; | |
$res = $mysqli->query($sql) or die($mysqli->error); | |
$arr = array(); | |
while($data = $res->fetch_assoc()){ | |
array_push($arr, $data); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment