| getId()}&catid={$id}\">{$product->getName()} | "; echo "{$product->getDescription()} | "; if(isset($username)) { echo "getId()}\">Edit | "; echo "getId()}\">Delete | "; } echo ""; } ?>
findOneById($id); if ( !is_object($category) ) { header('Location: categories.php'); } $products = $category->getProducts(); ?>
| getId()}&catid={$id}\">{$product->getName()} | "; echo "{$product->getDescription()} | "; if(isset($username)) { echo "getId()}\">Edit | "; echo "getId()}\">Delete | "; } echo ""; } ?>