Subject Re: [firebird-php] Duplicate numbers
Author Lester Caine
Jochem Maas wrote:

> Alan McDonald wrote:
>>>Actually the sweepstake is simply the browser - ever tried double click!
>>>Double click gives two clean tickets every time :(
>>>So the problem is nothing to do with Firebird - just a matter of
>>>stopping PHP running the script twice!
>>that's simple - just a javascript gate to stop 2 posts
> ai, a submit handler - the first thing it does it disable to the submit button,
> then is submits the form.

I don't know why I've not spotted this in the past, simply not used to
double click in PHP pages and not tested for it :(
To me it just does not make sense that the message is sent twice.

>>>Customers are called to a counter or room by ticket number - need I say
>>>more ;)
> well what happens if one runs out of rooms ;-)

Actually that is where the best business is at the moment. Upgrading
sites that have added more rooms ;)
But we do have a system that uses Text to Speech and calls by name, so
the ticket number is not so critical. The 'old' system only has 1 to 300
recorded as segments for the announcements :)

Lester Caine - G8HFL
L.S.Caine Electronic Services -
Model Engineers Digital Workshop -
Treasurer - Firebird Foundation Inc. -