
Untitled
By: a guest on
Sep 24th, 2012 | syntax:
PHP | size: 0.44 KB | hits: 23 | expires: Never
<th scope="row">cat1</th>
<?php
function fillTable ($cat) {
foreach ($res as $type => $properties) {
// $properties = $res[$type]
foreach ($properties as $property => $value) {
// $value = $res[$type][$property]
if ($property == $cat) {
echo "<td>".$value."</td>";
}
}
}
#return ( ZURÜCKGEBENER WERT );
}
fillTable(1);
?>
</tr>