parent
d8e482cc48
commit
c2711869d4
|
@ -40,18 +40,7 @@
|
||||||
if ($result->num_rows > 0) {
|
if ($result->num_rows > 0) {
|
||||||
// output data of each row
|
// output data of each row
|
||||||
while($row = $result->fetch_assoc()) {
|
while($row = $result->fetch_assoc()) {
|
||||||
echo '''
|
echo '<tr><th>'.$row["id"].'</th><th>'.$row["universe"].'</th><th>'.$row["dmx_address"].'</th><th><form action="./settings.php?id='.$row["mac_address"]'"><button type="submit" class="btn btn-secondary">Configure</button></form></th></tr>';
|
||||||
<tr>
|
|
||||||
<th>'.$row["id"].'</th>
|
|
||||||
<th>'.$row["universe"].'</th>
|
|
||||||
<th>'.$row["dmx_address"].'</th>
|
|
||||||
<th>
|
|
||||||
<form action="./settings.php?id='.$row["mac_address"]'">
|
|
||||||
<button type="submit" class="btn btn-secondary">Configure</button>
|
|
||||||
</form>
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
''';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue