witam mam następujący problem w My sql zrobiłem baze danych z kolkoma tabelami i przy pomocy PDO wyświetliłem te tabele na stronie www natomiast chciał bym podlinkowac każdą z tych pozycji (chodzi o cennik) tak aby klient mógł klikąć w odpowiednia pozycje lub ikonę koszyka której tez nie moge dodać i ta go odesłała do konkretnej trony z zamówieniem nie wiem jak w takiej tabeli zrobic link wszelkie próby z a href nie działają
oto kod
<div class="container" id="cennik">
<div class="table-responsive">
<h1>CENNIK</h1>
<table class="table table-hover">
<h2>Planista 6</h2>
<thead class="thead-dark">
<tr>
<th>Lp</th>
<th>Nazwa Wersji</th>
<th>Cena netto zł</th>
<th>Cena Brutto zł</th>
</tr>
</thead>
<tbody>
<?php
foreach ($planista6 as $planista6) {
echo "<a href='order.php'<tr><td>{$planista6['id']}</td><td>{$planista6['Nazwa wersji']}</td><td>{$planista6['cena netto zl']}</td><td>{$planista6['cena brutto zl']}</td></tr></a>";
}
?>
</tbody>
</table>
<table class="table table-hover">
<h2>Planista 6 - licencja przeznaczona wyłącznie do celów edukacyjnych</h2>
<thead class="thead-dark">
<tr>
<th>Lp</th>
<th>Nazwa Wersji</th>
<th>Cena netto zł</th>
<th>Cena Brutto zł</th>
</tr>
</thead>
<tbody>
<?php
foreach ($planista6edu as $planista6edu) {
echo "<tr><td>{$planista6edu['id']}</td><td>{$planista6edu['Nazwa wersji']}</td><td>{$planista6edu['cena netto zl']}</td><td>{$planista6edu['cena brutto zl']}</td></tr>";
}
?>
</tbody>
</table>
<table class="table table-hover">
<h2>Planista PLUS</h2>
<thead class="thead-dark">
<tr>
<th>Lp</th>
<th>Nazwa Wersji</th>
<th>Cena netto zł</th>
<th>Cena Brutto zł</th>
</tr>
</thead>
<tbody>
<?php
foreach ($planistaplus as $planistaplus) {
echo "<tr><td>{$planistaplus['id']}</td><td>{$planistaplus['Nazwa wersji']}</td><td>{$planistaplus['cena netto zl']}</td><td>{$planistaplus['cena brutto zl']}</td></tr>";
}
?>
</tbody>
</table>
<table class="table table-hover">
<h2>Planista BD 2008</h2>
<thead class="thead-dark">
<tr>
<th>Lp</th>
<th>Nazwa Wersji</th>
<th>Cena netto zł</th>
<th>Cena Brutto zł</th>
</tr>
</thead>
<tbody>
<?php
foreach ($planistabd as $planistabd) {
echo "<tr><td>{$planistabd['id']}</td><td>{$planistabd['Nazwa wersji']}</td><td>{$planistabd['cena netto zl']}</td><td>{$planistabd['cena brutto zl']}</td></tr>";
}
?>
</tbody>
</table>
<table class="table table-hover">
<h2>System Planista 2010 Net</h2>
<thead class="thead-dark">
<tr>
<th>Lp</th>
<th>Nazwa Wersji</th>
<th>Cena netto zł</th>
<th>Cena Brutto zł</th>
</tr>
</thead>
<tbody>
<?php
foreach ($net as $net) {
echo "<tr><td>{$net['id']}</td><td>{$net['Nazwa wersji']}</td><td>{$net['cena netto zl']}</td><td>{$net['cena brutto zl']}</td></tr>";
}
?>
</tbody>
</table>
<table class="table table-hover">
<h2>Planista MAX</h2>
<thead class="thead-dark">
<tr>
<th>Lp</th>
<th>Nazwa Wersji</th>
<th>Cena netto zł</th>
<th>Cena Brutto zł</th>
</tr>
</thead>
<tbody>
<?php
foreach ($planistamax as $planistamax) {
echo "<tr><td>{$planistamax['id']}</td><td>{$planistamax['Nazwa wersji']}</td><td>{$planistamax['cena netto zl']}</td><td>{$planistamax['cena brutto zl']}</td></tr>";
}
?>
</tbody>
</table>
<table class="table table-hover">
<h2>Planista MAX PLUS</h2>
<thead class="thead-dark">
<tr>
<th>Lp</th>
<th>Nazwa Wersji</th>
<th>Cena netto zł</th>
<th>Cena Brutto zł</th>
</tr>
</thead>
<tbody>
<?php
foreach ($planistamaxplus as $planistamaxplus) {
echo "<tr><td>{$planistamaxplus['id']}</td><td>{$planistamaxplus['Nazwa wersji']}</td><td>{$planistamaxplus['cena netto zl']}</td><td>{$planistamaxplus['cena brutto zl']}</td></tr>";
}
?>
</tbody>
</table>
<table class="table table-hover">
<h2>Dodatki</h2>
<thead class="thead-dark">
<tr>
<th>Lp</th>
<th>Nazwa Wersji</th>
<th>Cena netto zł</th>
<th>Cena Brutto zł</th>
</tr>
</thead>
<tbody>
<?php
foreach ($dodatki as $dodatki) {
echo "<tr><td>{$dodatki['id']}</td><td>{$dodatki['Nazwa wersji']}</td><td>{$dodatki['cena netto zl']}</td><td>{$dodatki['cena brutto zl']}</td></tr>";
}
?>
</tbody>
</table>
</div>
</div>
same tabele w mysql zawierają tylko kolumni ID Nazwa cena brutto i netto