PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Ok here I am again with another little problem. I am so close to working out all of my bugs so any help is welcome! Here is what is happening now....I have created a reunion web site where people create profiles, can log in and edit their profiles, and can view other classsmates' profiles. The problem I am having is that when a user logs in, they can only view their own profile and cannot see others'. I'm thinking that my script is reading the id from my session script I have for some links at the top of the page instead of reading the other profiles' id. If any of that makes sense. If you want to try logging in to my site and seeing for yourself what is happening, the link is http://www.sbhs76.com. You can use my test account information: email - webmaster@sbhs76.com password - testing. Here is the script I am using to view the profiles:
kristie380 wrote:Here is what is happening now....I have created a reunion web site where people create profiles, can log in and edit their profiles, and can view other classsmates' profiles. The problem I am having is that when a user logs in, they can only view their own profile and cannot see others'.
The code you posted does not show this process. Show the code (and include the page name) of the page that handles a users profile and the code (and page name) of the page that displays the other members profiles.