Código PHP:
$conexio = mysql_connect("localhost","root","jazmin");
mysql_select_db ("jazmin_dbo", $conexio) OR die ("No se puede conectar");
$consulta = "SELECT report_id, created, problem_description FROM report WHERE status_id = '1'";
$resultado_cons = mysql_query($consulta);
while($row = mysql_fetch_object($resultado_cons)){
echo "<table border = '1'> \n";
echo "<tr> \n";
echo "<td><b>Folio </b></td> \n;";
echo "<td><b>Fecha</b></td> \n";
echo "<td><b>Descripción</b></td> \n";
echo "</tr> \n";
echo "<a href=\"mostrar.php?id='".$row->report_id."'\">".$row->report_id."</a></td>"
echo "<td>$row->created</td>";
echo "<td>$row->problem_description</td>";
}
echo "</table> \n";