when I save a data to mysql , I hope to get a realtime tip to my web?

Hi everybody, I got a preblem, I want to get a tip, nomatter when an where I save a data to mysql, How i can solve it? Someone could help me, need socket? but how? (当我保存数据时候,我想得到即时提醒的消息,要用socket吗?)

Can you please be more specific? There is too little information to answer your question.


thank you for your reply, the question is like how to use socket in phalcon ? and what deffierent about php socket , websocket and swoole?