I have built out a real time chat application powered by PubNub. At present, I allow messages to be sent and received directly to and from a user through PubNub alone. However, I wish to "save" these messages by first pushing them to my server/db, built in PHP and MySQL, then upon successful entry, send to the user via PubNub.I have built out a real time chat application p