Keep user-only logs displayed in a PHP chatbox
<p>Well, the quetion isn't only "how" to keep them displayed but also how to "store" them. Notice, that I'm a semi-newbie in PHP development when it comes for a live chat application.</p>

<p><strong>Application Overview</strong></p>

<p>I'd like to creat a web-based chat room with jquery &amp; php. Everything is fine, since there're hundreds of tutorials out there concerning this specific development issue. I've made everything, and it seems to be working fine till now. I'm storing the texts in the database, and this is a "final decision" for now, so please, keep in mind everything is in a db and not in a file. </p>

<p><strong>The Problem</strong></p>

<p>Well, yeah, chats are displayed well. But I want to have some user interaction. For example, a user could call a specific function (command) and have some results displayed. But those results are some kind of private data. So, I'm stuck on this. I don't really want to store every single log in the db, since this is the worst way and space-consuming I suppose. I want each user to have their own consol (like) place for a certain time let's say. I thought about using cache or something, but I'm really noob at this.</p>

<p>So, I came to the experts... Could you suggest something?
In case you need any further explanation, please ask for it.</p>

<p>Thanks in advance for the answer. :)</p>
