Problame with updating data automatic from database...please help

hello ,
I made a simple messageing script with php and when i send message somebody he need to refresh his page for biew new message… but i want that will be automatically show to him after i send message, thats mean when i send a message to anybody it will be shown to him without refresh like facebook chatting so i need help, i need that script which will be help me to retrive data from database without refresh … if u know then please help me :slight_smile:

Thank You in advance :slight_smile: