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.
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!
Ah! Of course its something so basic that I forgot. Ah well, so goes it when you're a newbie programmer. Thanks a lot. Also, the suggestion for putting curly brackets around the variable will let me omit the first line where I had to convert the variable: $fname=$row['fname']; - and might actually solve a bigger chronic problem I've been having... so thanks for that too.
One last thing, I'm using the following line to send fname when the user clicks on it (using info I found on this site), but I can't figure out how to use it on the next page. I've been scanning the web for info so if I find the answer I'll report back...
Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.
This thread is more than three months old
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.