Warning: Array to string conversion in /in/8QRXm on line 26
Warning: Undefined variable $heading in /in/8QRXm on line 26
Warning: Undefined variable $heading in /in/8QRXm on line 27
Warning: Array to string conversion in /in/8QRXm on line 33
Warning: Undefined variable $sub_array in /in/8QRXm on line 33
Warning: Undefined variable $sub_array in /in/8QRXm on line 35
Warning: Undefined variable $value in /in/8QRXm on line 35
Warning: Undefined variable $value in /in/8QRXm on line 36
<!DOCTYPE html>
<html>
<head>
<style>
table {
width: 100%;
max-width: 100%;
margin-bottom: 20px;
}
th, td {
white-space: nowrap
}
thead {
text-align: left
}
</style>
</head>
<body>
<table>
<thead>
<tr>
<?php foreach (array_keys(reset(Array)) as ): ?>
<th><?php echo ucwords(strtr(, ['_' => ' '])); ?></th>
<?php endforeach; ?>
</tr>
</thead>
<tbody>
<?php foreach (Array as ): ?>
<tr>
<?php foreach ( as ): ?>
<td><?php echo ; ?></td>
<?php endforeach; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</body>
</html>
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Warning: Array to string conversion in /in/8QRXm on line 26
Warning: Undefined variable $heading in /in/8QRXm on line 26
Warning: Undefined variable $heading in /in/8QRXm on line 27
Warning: Array to string conversion in /in/8QRXm on line 33
Warning: Undefined variable $sub_array in /in/8QRXm on line 33
Warning: Undefined variable $sub_array in /in/8QRXm on line 35
Warning: Undefined variable $value in /in/8QRXm on line 35
Warning: Undefined variable $value in /in/8QRXm on line 36
<!DOCTYPE html>
<html>
<head>
<style>
table {
width: 100%;
max-width: 100%;
margin-bottom: 20px;
}
th, td {
white-space: nowrap
}
thead {
text-align: left
}
</style>
</head>
<body>
<table>
<thead>
<tr>
<?php foreach (array_keys(reset(Array)) as ): ?>
<th><?php echo ucwords(strtr(, ['_' => ' '])); ?></th>
<?php endforeach; ?>
</tr>
</thead>
<tbody>
<?php foreach (Array as ): ?>
<tr>
<?php foreach ( as ): ?>
<td><?php echo ; ?></td>
<?php endforeach; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</body>
</html>
Notice: Array to string conversion in /in/8QRXm on line 26
Notice: Undefined variable: heading in /in/8QRXm on line 26
Notice: Undefined variable: heading in /in/8QRXm on line 27
Notice: Array to string conversion in /in/8QRXm on line 33
Notice: Undefined variable: sub_array in /in/8QRXm on line 33
Notice: Undefined variable: sub_array in /in/8QRXm on line 35
Notice: Undefined variable: value in /in/8QRXm on line 35
Notice: Undefined variable: value in /in/8QRXm on line 36
<!DOCTYPE html>
<html>
<head>
<style>
table {
width: 100%;
max-width: 100%;
margin-bottom: 20px;
}
th, td {
white-space: nowrap
}
thead {
text-align: left
}
</style>
</head>
<body>
<table>
<thead>
<tr>
<?php foreach (array_keys(reset(Array)) as ): ?>
<th><?php echo ucwords(strtr(, ['_' => ' '])); ?></th>
<?php endforeach; ?>
</tr>
</thead>
<tbody>
<?php foreach (Array as ): ?>
<tr>
<?php foreach ( as ): ?>
<td><?php echo ; ?></td>
<?php endforeach; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</body>
</html>
Notice: Array to string conversion in /in/8QRXm on line 26
Notice: Undefined variable: heading in /in/8QRXm on line 27
Notice: Undefined variable: heading in /in/8QRXm on line 33
Notice: Array to string conversion in /in/8QRXm on line 33
Notice: Undefined variable: sub_array in /in/8QRXm on line 35
Notice: Undefined variable: sub_array in /in/8QRXm on line 35
Notice: Undefined variable: value in /in/8QRXm on line 36
Notice: Undefined variable: value in /in/8QRXm on line 44
<!DOCTYPE html>
<html>
<head>
<style>
table {
width: 100%;
max-width: 100%;
margin-bottom: 20px;
}
th, td {
white-space: nowrap
}
thead {
text-align: left
}
</style>
</head>
<body>
<table>
<thead>
<tr>
<?php foreach (array_keys(reset(Array)) as ): ?>
<th><?php echo ucwords(strtr(, ['_' => ' '])); ?></th>
<?php endforeach; ?>
</tr>
</thead>
<tbody>
<?php foreach (Array as ): ?>
<tr>
<?php foreach ( as ): ?>
<td><?php echo ; ?></td>
<?php endforeach; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</body>
</html>