PHP Code:
// something happens
server_print("hey, something happened and this is the value: %d", variable_of_interest)
// something else happens
server_print("hey, something else happened and this is the value: %d", variable_of_interest)
// etc.
__________________