Hi,
I'm builduing a php page and I want some boolean values in my DB to be shown in real time.
For example, I have four bool values like
val1 true
val2 true
val3 false
val4 true
and I'd like to show this values in my web page in real time. If one of these values changes, I want my page to show that, without having to refresh the page (if someone can helpme with this issue also, I'd be very grateful).
If I use SQL queries, how can I know if a value changed ? Should I constantly poll my DB to know if changes occurred ?
This data must be shown in real time.
Thanks
I'm builduing a php page and I want some boolean values in my DB to be shown in real time.
For example, I have four bool values like
val1 true
val2 true
val3 false
val4 true
and I'd like to show this values in my web page in real time. If one of these values changes, I want my page to show that, without having to refresh the page (if someone can helpme with this issue also, I'd be very grateful).
If I use SQL queries, how can I know if a value changed ? Should I constantly poll my DB to know if changes occurred ?
This data must be shown in real time.
Thanks