I'm doing a small application where I see an index that contains the data of books previously stored in phpmyadmin. I do not know how to do so that in each section I take the data stored in the phpmyadmin table. That is to say that for example I take the price data. I leave part of the code '
<head>
<title>Libro</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="estilos/estilos.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="contenedorPrincipal"/>
<div class="cabecera"><img src="imagenes/banner.jpg"/></div>
<div class="navegacion">
<a href="listarlibros.php">Ver libros</a>
<a href="formulario.html">Añadir libro</a>
</div>
<div class="contenido">
<div class="portadaLibro">
<img src="imagenes/universo.jpg" />
<h2> <form method="post" > $precio </h2><br>
<a class="btnComprar" href="#">Añadir a la cesta</a>
</div>
<h1>El Universo en tu mano</h1>
<p>Christophe Galfard, el mejor discípulo de Stephen Hawking, es uno de los divulgadores científicos más renombrados del planeta.</p>
<table class="datosLibro">
<tr class="odd">
<th>Autor</th>
<td>Christophe Galfard</td>
</tr>
<tr>
<th>Editorial</th>
<td>Blackie Brooks</td>
</tr>
<tr class="odd">
<th>Año de edición</th>
<td>2016</td>
</tr>
<tr>
<th>Género</th>
<td>Ensayo</td>
</tr>
</table>'