findOneById($id); if ( !is_object($product) ) { header('Location: categories.php'); } ?> Productdetails

getName(); ?>