Q:

create php file to check database frequently

How I can create a php file to check mysql database if there is new row inserted ?
any article for this ?
thanks in advance.

A:

Use google cloud messaging and modify your insert script
https://developer.android.com/google/gcm/index.html
the google site has API examples 

