Skip to content

Instantly share code, notes, and snippets.

@goyuninfo
Created November 26, 2013 20:31
Show Gist options
  • Save goyuninfo/7665691 to your computer and use it in GitHub Desktop.
Save goyuninfo/7665691 to your computer and use it in GitHub Desktop.
<?php
$mysqli = new mysqli("192.168.1.19","user","password","i88ca");
$result = $mysqli->query("select l.* from lists l limit 8");
$resultArray = $result->fetch_all(MYSQLI_ASSOC);
foreach ($resultArray as $value) {
foreach ($value as $value2) {
echo ($value2);
echo "\n";
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment