In general, the point is this: the server is a script that will listen to the change in the database and send this data to a remote laptop. How best to implement the sending of this data?

    1 answer 1

    If the php script will access the laptop, then in this case the laptop is the server and the server is the client.
    Think in the direction of a permanent or periodic connection from the laptop to the server.
    This can be done using javascript and setInterval, or use sockets.
    If you need a desktop client, you can use any language suitable for the desktop.