Answer the question
In order to leave comments, you need to log in
How does ibase_wait_event() work in php?
On table 1 in firebird, there is a trigger of the "after insert" type, which updates the value in table 2, then performs a post_event
A separate php script is launched (in a cycle of 300 seconds, it is planned to create a daemon in the future), which, through ibase_wait_event(), waits for this event, when triggered, it requests the value from table 2. During the script, the trigger (located in the above-mentioned cycle) fires several times, in table 2 the value changes regularly, but each time php receives the value from table 2 corresponding to the first trigger. How to force php to get updated data?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question