findOneById($id); if ( !is_object($category) ) { header('Location: categories.php'); } $products = $category->getProducts(); ?> Products

getName(); ?>

getId()}&catid={$id}\">{$product->getName()}"; echo "
{$product->getDescription()}
"; } ?>