View Single Post
  #1 (permalink)  
Old 02-19-08, 05:19 PM
memphis2k memphis2k is offline
New Member
 
Join Date: Feb 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Database Change, PHP Auto Update??

Hello, I'm a PHP newbie but have used a few languages in the past. Here is my question.

I need help finding a way to automatically update a PHP page after the database has been changed.

Setup:
I'm setting up a system with an admin & client based side with logged in users.
When I make a certain change to the DB, i.e. select a driver that won the race, JeffG. Then would click Apply would save it to the DB.

With a user logged in, it would say JeffG Wins! with a picture below. Then the client would be able to click "OK" button and return to the previous page.

Newest XAMPP running under WinXP SP2 - Admin updater
Clients would be running a small-sized screen Opera browser. I don't think I can use "popups' of any sort or an 2nd window/tab. Idea is VERY similar to a forums PM system!

I have attachted 4 images, they go in the order of what should happen. Quick example only.

Main concept: I want the PHP page to look for a change in the DB, if change exists, Update entire PHP page with it (Overlay) OR a whole new page. Think of it as an "alert" but can't be a dialog box.

Any tutorials would be much appreciated, n00b! Ideas, throw them out there!
Attached Images
File Type: jpg Alerts_1.jpg (9.8 KB, 3423 views)
File Type: jpg Alerts_2.jpg (6.7 KB, 3420 views)
File Type: jpg Alerts_3.jpg (13.6 KB, 3431 views)
File Type: jpg Alerts_4.jpg (6.7 KB, 3412 views)
Reply With Quote