PiXelTube overview

connect_error) { die("Connection failed: " . $conn->connect_error); } $sql_query = "SELECT id, mac_address, universe, dmx_address FROM tubes"; $result = $conn->query($sql_query); if ($result->num_rows > 0) { // output data of each row while($row = $result->fetch_assoc()) { echo ' '; } } else { echo "0 results"; } ?>
Tube ID Universe DMX address MAC address
'.$row["id"].' '.$row["universe"].' '.$row["dmx_address"].' '.$row["mac_address"].'