+ 4

Dynamically adding contents to a page as social networks do

How can i dynamically add contents to a page? I'm new to PHP and i guess PHP can't do this as it finishes its work after page load. So what to do? heard about ajax and node.js. Any code snippets will be helpful...

9th Mar 2017, 3:25 PM
Chahat Gupta
Chahat Gupta - avatar
1 Réponse
+ 10
Great question. This might aide your efforts, and I hope it does. The simplest way of understanding "server-sent events": https://www.w3schools.com/html/html5_serversentevents.asp
9th Mar 2017, 4:22 PM
Mark Foxx
Mark Foxx - avatar
Aujourd'hui en vedette
.
1 Votes
What?
0 Votes
HTML
0 Votes
FRC Coding?
1 Votes
Quiz duel
0 Votes
AI
2 Votes
help
0 Votes
APIs
1 Votes
Create Agent
0 Votes