Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 5th, 2004, 04:05 PM
Registered User
 
Join Date: Jun 2004
Location: , , .
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

Reply With Quote
  #2 (permalink)  
Old June 5th, 2004, 05:08 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: , , .
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

<><
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 02:00 PM
Data retrieval using MySQL rajanikrishna Beginning PHP 2 November 12th, 2003 10:38 PM



All times are GMT -4. The time now is 09:32 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.