Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
|
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 5th, 2004, 04:05 PM
Registered User
 
Join Date: Jun 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Automatically retrieval info from MySql

I need some guidelines in the following topic.
I want to develop a monitoring tool which will be updated automatically from MySql. For example, when there is change of state of a value in a table I want to be informed. I am thinking of doing it by checking every X period of time all the values of the table and if the new value is not equal to the previous one then I can go further. How can I set up a timer or a permanent iteration
Do you have any other recommendations for solving this issue

 
Old June 5th, 2004, 05:08 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Have PHP get all the DB fields you want and write them out to hidden form fields. Every x seconds submit the form and check the hidden field values against the new DB records. Then write the new records out on the page, and if they aren't the same, add a big red flashing message and maybe a sound. I would code it for you but I'm a bit short on time right now....

HTH,

Snib

<><





Similar Threads
Thread Thread Starter Forum Replies Last Post
IMPORTANT MySQL my.cnf info ElizabethN BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 11 June 27th, 2005 05:22 PM
Need info about MySQL bmains MySQL 3 September 23rd, 2004 07:18 AM
info from one field to another automatically miller2000 Access 6 June 18th, 2004 08:59 AM
Store info into a MySQL DB table KoRn PHP How-To 1 February 17th, 2004 03:00 PM
Data retrieval using MySQL rajanikrishna Beginning PHP 2 November 12th, 2003 11:38 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.