Display alert on webpage without request from the browser

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

hallowniraj
New php-forum User
New php-forum User
Posts: 1
Joined: Thu Jan 09, 2014 7:49 am

Display alert on webpage without request from the browser

Postby hallowniraj » Thu Jan 09, 2014 7:56 am

Hi,

I have a requirement where I have a static webpage and I need to display an alert (just a text "Hi") on the webpage after a certain interval without refreshing or taking any action on the webpage.

I thought this could be achieved by running a PHP script on the server side to send the alert message to the webpage but I do not know the way to implement it.

I am a complete newbie so please do let me know how this can be done.

Thanks & Regards,
Niraj

Return to “PHP coding => General”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest