HOW CAN I STYLE THE ANCHOR TAG IN ECHO?
if(isset($_SESSION['valid']))
{
include("config.php");
$result = mysqli_query($conn, "select * from users");
echo "<a href='view.php'>View and Manage Users</a>";
echo "<br/>";
echo "<a href='viewdept.php'>View and Manage Departments</a>";
echo "<br/>";
echo "<a href='viewrep.php'>View and Manage Reports</a>";
echo "<br/><br/>";
echo "<b>Login List:</b><br/>";
echo "<table width='35%'>";
echo "<tr bgcolor='#CCCCCC'><td><b>NAME</b></td><td><b>DATE</b></td></tr>";
while($row = mysqli_fetch_assoc($result))
{
$name = $row['name'];
//$password = $row['password'];
$date = $row['dtime'];
echo "<tr><td>$name</td><td>$date</td></tr>";
}
echo "</table>";
}
else
{
echo "You must be logged in to view this page.<br/>";
echo "<a href='login.php'>Login</a>";
}
?>