I am creating a forum and i have session running. The session displays the user name in the posts. This is all dandy and i have the user name displaying but the problem is that every time someone else logs in all the user names in the posts change!!!! I am gathering i have to save these somewhere but i have no idea how ? can anyone help?
I have looked at this problem another way but i just keep confusing myself. I have an id attribute in both messages and members table. So i was thinking using the session to store the id and then do a link(in mysql) to get the user name but i keep failing miserably
I would post the code up but it is an assignment i am happy to send it via e-mail so i can log it which would give me backup in case i needed to prove it is my own work.
cheers in advanced
I have looked at this problem another way but i just keep confusing myself. I have an id attribute in both messages and members table. So i was thinking using the session to store the id and then do a link(in mysql) to get the user name but i keep failing miserably
I would post the code up but it is an assignment i am happy to send it via e-mail so i can log it which would give me backup in case i needed to prove it is my own work.
cheers in advanced
Comment