Hey guys i am making a small chat site using php and mysql, what i would like to do is have it so as something is posted the php automatically updates itself, i am currently doing it using but it is very glitchy and flashes while refreshing and always has the blue spinning wheel on the cursor. is there any script that i can use so the php file updates itself when the sql table gets updated? Thanks alot
Its done automatically if the php is on the top of the page.
Use Ajax and wrap it around some form like json or xml