I am working on a volunteer site and have limited knowlege of php and mysql and could use some help.
I would like to execute a command automatically from a HTML page when loaded that would count the records in a table and place that number in a file(?). The next time the page is loaded, it would do a count and compare to the last count and if greater then post a 'new message' image on my page.
People will be posting messages into a mysql database related to emergency information. When others come to the page, I would like a "New Message" graphic be displayed on the html page if the new count is higher. I don't know the best way or how to do this. I am looking for suggestions and some help, to the point of having the code to put into my html, to include connection to the database for the php command.
Is this a relativly easy thing to do? Can someone please write this for me?
We would greatly appreciate it.
Operating System Linux
Apache Version 1.3.26 (Unix)
Perl Version 5.006001
Perl Path /usr/bin/perl
PHP Version 4.2.2
Mysql Version 3.23.53a
Thanx in advance
john@hwy285.com