PHP & MYSQL Simple Chat Application (Part 5) - Refresh Message Window using AJAX

preview_player
Показать описание

Previous video may have to be viewed to get to this point in the tutorial series.

This video continues on from previous videos. In this part I use AJAX to run a PHP script every 1 second to automatically refresh the message window.

Next part will focus on the sending of messages.

I apologise about the lateness of this video.
Рекомендации по теме
Комментарии
Автор

Hopefully I went good, ha. I hope the video's have helped.
Also thanks for watching, and good luck in your HSC.

IndexedWay
Автор

thanks. your tutorial really help me to learn chat application.

danangwu
Автор

How did you go with your HSC ? I'm using your video for some inspiration for a SDD project I'm doing for my HSC (:

mattjonesdeveloper
Автор

hi @IndexedWay, this tutorial is really good.... but when i tried to open a duplicate window my msgs are not coming on both windows.... it is just coming on one window . can you help me with that?

php
Автор

nice, please load again project files

prodanmn
Автор

please can you help me after following the video and refreshing my messages are not loading anymore

tonnyestacy
Автор

it is coming for me in the localhost but I'm not getting messages. It is successfully sending and updating database but not displaying. your Help much appreciated . pls???

alapatisrikanth
Автор

after changing auto_chat messeges did not load

SupunRajasinghe
Автор

check the url in auto_chat.js it might be the problem.

php
Автор

it worked but there is an annoying refresh animation every 1 second. How can i get rid of that?

bamboo
Автор

thew... it hadn't worked. i realized I had messed up the code

mattdathew
join shbcf.ru