[SOLVED] HTTP 500 checking IF EXIST
Rate Topic:

I have two tables in 2 databases on different servers. I am trying to check if "ID"=data("SOMEID") exist in second "USERS" table and if does not exist - make cell red.
Im getting HTTP 500 error with code below. If I use WHERE ID=12345 and not data("SOMEID") it works well for that ID.

I have two tables in 2 databases on different servers. I am trying to check if "ID"=data("SOMEID") exist in second "USERS" table and if does not exist - make cell red.
Im getting HTTP 500 error with code below. If I use WHERE ID=12345 and not data("SOMEID") it works well for that ID.