Socket.io and Phalcon PHP
<p>I'm using <a href="https://phalconphp.com/fr/">Phalcon PHP</a> and I want to try <a href="http://socket.io/">socket.io</a> for the first time. I did the tutorial chat message with socket.io. But now I want to select some data in my database to count the number of rows in the table 'product' with query Phalcon :</p>

<pre><code>$count_products = Product::count();
</code></pre>

<p>For example in my HTML page I have 5 products and when I'll add one product or more into my table Product I want an auto refresh to see 6 products in my HTML page.</p>

<p>Could you help me to do that ?</p>