Sorry. I forgot to paste the code ...
Anyways, when I used isset nothing happened, it just did the same as the first code I pasted.
Here is more of the code:
$practice = mysql_query("SELECT * FROM schedules WHERE teamid='$username' AND gametype='Practice'");
echo "<h1>Scheduled Practice Games</h1>";
echo "<table border='1'>
<tr>
<th>Game Type</th>
<th>Game Location</th>
<th>Game Time</th>
<th>Game Date</th>
<th>Op. Team</th>
<th>View Map</th>
</tr>";
while($row = mysql_fetch_array($practice))
{
echo "<tr>";
echo "<td>" . $row['gametype'] . "</td>";
echo "<td>" . $row['gamelocation'] . "</td>";
echo "<td>" . $row['gametime'] . "</td>";
echo "<td>" . $row['gamedate'] . "</td>";
echo "<td>" . $row['oppositeteam'] . "</td>";
// Lets see if there is a address to show a map link.
$street = $row['street'];
{
if ($street == null) {
echo 'No Directions'; }
ELSE {
echo "<td><a href=directions.php?id=" .$row['id']. ">Map</td>";
}
}
echo "</tr>";
}
echo "</table>";