MyBB Community Forums

Full Version: Send a private message using queries.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello MyBB.

So I've coded a system in PHP where a user can upgrade instantly and given the correct award after payment completed. I have just one small problem. After looking at my database under the privatemessage table, it looked rather confusing and I just didn't know what to insert.

If anyone could give me a quick database query code I'd appreciate it. I will finish the rest, I just need to know how the query is set when sending a custom PM.

Thank you.
bump please
dfgdfgds
Take a look at the private.php and see how MyBB sends the PM, so you can replicate it yourself.