I am looking for one query to extract private messages from a phpbb forum. For each message I want the sender and receiver of the message. I would like it to be one command if possible.
The tables are:
I will list the fields that are needed, not every field!)
table: phpbb_privmsgs_text (has the body of the private message)
needed fields:
>> privmsgs_text_id
>> privmsgs_text
table: phpbb_privmsgs (has the senders id and the receivers id etc.)
needed fields:
>> privmsgs_id
>> privmsgs_from_userid
>> privmsgs_to_userid
table: phpbb_users
needed fields:
>> user_id
>> username
So I would like to list all private messages in the forum with the message body, sender username and receiver username.
Thanks for your help!!
The tables are:
I will list the fields that are needed, not every field!)
table: phpbb_privmsgs_text (has the body of the private message)
needed fields:
>> privmsgs_text_id
>> privmsgs_text
table: phpbb_privmsgs (has the senders id and the receivers id etc.)
needed fields:
>> privmsgs_id
>> privmsgs_from_userid
>> privmsgs_to_userid
table: phpbb_users
needed fields:
>> user_id
>> username
So I would like to list all private messages in the forum with the message body, sender username and receiver username.
Thanks for your help!!