have a simple membership database in mysql. Running a query, and displaying results on a page to show active members.
Need some simple assistance - I want to bold the names, and make the email address links (- mailto: etc.), and make links to folks web sites, if present.
Part of code is below - appreciate any guidance...
$result = mysql_query("SELECT * FROM members where dues > '2009-05-01' and nowebsite <> 'x'");
echo "<table border='0'>
<tr>
<th></th>
<th></th> </tr>";
while($row = mysql_fetch_array($result))
{
echo "<tr>";
echo "<td>" . "______________________" . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $row['company']. "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $row['fname']." ".$row['lname']. "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $row['phone'] . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $row['email'] . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $row['website'] . "</td>";
echo "<tr>";
echo "<td>" . $row['description'] . "</td>";
echo "</tr>";
}
echo "</table>";