Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $types = $db->get_results("SELECT name, typeid FROM types WHERE inprod = 1 ORDER BY name ASC");
- echo '<table border="1"><tr><td>';
- if($title != 'Home') { echo '<a href="index.php">Home</a>'; } else { echo 'Home'; } echo '</td>';
- foreach($types as $type) {
- if($type->name == $title) { echo '<td>' .$type->name. '</td>'; }
Add Comment
Please, Sign In to add comment