Oh god, that was stupid. X.X Well.
Okay, that's fixed. It's now actually displaying things within the while() {}. However, it's still now showing the table information that I'm calling for....
Here's an updated version of the code:
<?php
if(isset($_GET['profile'])) {
$profile = $_GET['profile'];
//connect to database
$result = mysql_query("SELECT * FROM login WHERE user='$profile'",$db);
while ($myrow = mysql_fetch_row($result)) {
echo "This line will show, but the following printf will not.";
printf("%s %s", $myrow["user"], $myrow["handle"]);
}
} else {
echo "Please click an author's name to view their profile.";
}
?>