Hello, I'm having a strange problem. I'm trying to make a link to a page called stats.php for a series of first names that I have stored in a database. However, when I use the code below the hyperlink ends up being a link to the current page I'm on instead of to stats.php. Any help would be greatly appreciated.
..the following is in a while loop:
$fname=$row['fname'];
echo "<td>";
echo "<a href 'stats.php'>$fname</a>";
echo "<td>";
Step 2 is that I want the page stats.php to display other stored info about the person, so I need to pass the person's name to to the next page when the link is clicked, and then be able to access the db with it, so if you have any helpful hints on how to do that, I'd appreciate that as well. Thanks!