Skip to content

Instantly share code, notes, and snippets.

@SystemRestored
SystemRestored / Display a db table in row
Last active October 18, 2017 03:54
This will display a row of telemetry.. that was not in the original code
<?php
$servername = "localhost";
$username = "";
$password = "";
$dbname = "";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {