Trata con esto:
Código php:
Ver original<?php
$nom = $_GET["nom"];
$llinatge1 = $_GET["llinatge1"];
$llinatge2 = $_GET["llinatge2"];
if ($llinatge1 == NULL){
echo '<div align="center">No has aplenat un camp necessàri!</div>';
}else{}
?>
<?php
include ('bd.php');
?>
<?php
?>
<p> </p>
<table border="0" align="center" >
<tr>
<th align="center">Nom</th>
<th align="center">1r Llinatge</th>
<th align="center">2n Llinatge</th>
<th align="center">Cicle</th>
<th align="center">Curs</th>
<th align="center">Grup</th>
<?php
echo '<tr><td>'.$row["nom"].'</td>';
echo '<td>'.$row["llinatge1"].'</td>';
echo '<td>'.$row["llinatge2"].'</td>';
echo '<td>'.$row["cicle"].'</td>';
echo '<td>'.$row["curs"].'</td>';
echo '<td>'.$row["grup"].'</td></tr>';
}
?>
</table>
Suerte!