<?php $pdo = new PDO('mysql:host=localhost;dbname=vitamins', 'root', 'root'); require_once 'vitamins.php'; $table = new Vitamins($pdo); $vitamins = $table->getAll(); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <meta name="description" content=""> <meta name="author" content=""> <link rel="icon" href="../../favicon.ico"> <title>Vitamin Calculator</title> <!-- Bootstrap core CSS --> <link href="./assets/css/bootstrap.min.css" rel="stylesheet"> <!-- Custom CSS--> <link href="./assets/css/custom-styles.css" rel="stylesheet"> </head> <body> <!--fixed navigation bar-->