Go Back   CodingForums.com > :: Server side development > MySQL

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-24-2002, 12:51 AM   PM User | #1
sir pannels
Regular Coder

 
Join Date: Jun 2002
Posts: 905
Thanks: 23
Thanked 5 Times in 5 Posts
sir pannels is an unknown quantity at this point
saving a countdown in a mysql field...

hey..
umm is there anyway to add a running count down to a mysql cell...
i know how to start countdowns in php thats ok but saving the countdown to a mysql field.... is that possible ? without stopping it?
or is there any other way to do what im looking for.. which is to let users have their own countdown runing... every user accesses the same script from summut like script.php?user=jon so u see if a countdown is just started and and the next user opens the same script it`ll stop and do his countdown?
am i making sensE? lol
cheers
P
sir pannels is offline   Reply With Quote
Old 10-24-2002, 01:42 AM   PM User | #2
Jeewhizz
Regular Coder


 
Join Date: May 2002
Location: London, England
Posts: 369
Thanks: 0
Thanked 0 Times in 0 Posts
Jeewhizz is an unknown quantity at this point
hmmm, the only way to update would be to resend the info.. and i guess you could do it in a iframe or a frameset, but that would affect serverload a lot if you had 100 people!
__________________
Jeewhizz - MySQL Moderator
http://www.sitehq.co.uk
PHP and MySQL Hosting
Jeewhizz is offline   Reply With Quote
Old 10-24-2002, 09:22 AM   PM User | #3
sir pannels
Regular Coder

 
Join Date: Jun 2002
Posts: 905
Thanks: 23
Thanked 5 Times in 5 Posts
sir pannels is an unknown quantity at this point
hey Jee,
yeh ok didnt think so....
umm there will be 5000+ people so that would be to much load... i think ive worked out another way tho..
i`ll just add a number to a cell, like say it should be 4 hours i`ll puta 4 in the and geta CRON job to run every hour and take of 1 everytime then if the script is called with their name it displays hour many hours are left in that users table.. hehe sorted
thanks
sir pannels is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:23 PM.


Advertisement
Log in to turn off these ads.