Hey guys! I am designing a chat room with php and the chat room is basically able to send messages and display messages<br/>##the chat is functioning basically##<br/> but the ooonnllyy problem is that, i wanna display an alert box each time a new message comes in #its a public chat room#.... pls guys i knw dis isn't very mch detailed but please, i really need your help pleeeasse. Thanks a lot
Jump to Post
The problem with PHP is that PHP is executed server side, what this means is that it is run before the page is even loaded.
In terms of your chat room problem, this means that it won't be real time, or live. It can only possible occur once a refresh …
All 3 Replies
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.