am designing a social website where friends can send message to one another. i have designed the indox page named inbox.php where list of all messages will be displayed. the inbox table will display the SENDER, SUBJECT and DATE. the subject the an hyperlink that will direct the member to read the message. I also design another page named readmsg.php where the message which subject is being clicked in the inbox.php will be read, this page will show the SENDER, DATE SENT, SUBJECT & MESSAGE. the code for the subject is as below
The problem is that whenever the subject is being clicked in the inbox.php
, i will be directed to readmsg.php
but the field of SENDER, DATE SENT, SUBJECT & MESSAGE will be blank it won't show the info. i tried to create and pass it to SESSION[read] but its now working because i already have a SESSION[member]. please what do I do?