ChaseTonyReid
ChaseTonyReid

Reputation: 35

How to create AJAX notification using PHP to notify friend request

I'm looking to create a AJAX growl or cool AJAX Web 2.0 notification, I know PHP, and I'm looking to notify users when $username accepts friend request then a notification growl in AJAX that notifies that the users has accepted their friend request.

Upvotes: 1

Views: 2319

Answers (1)

Misguided
Misguided

Reputation: 1302

What you are describing is done through the use of Push technology, which involves more than PHP. In any case, it would be a matter of using your good ol' SQL query for checking the state of the request and giving the info to a polling-kind-of AJAX script.

Upvotes: 4

Related Questions