Comparing IP addresses

Hi All

I have a vexing question

I capture an IP to a mysql database. This works.

I then do a sql query to teturn that IP to compare it to the current IP and i return the same value. BOTH MATCH.

This block compares the two but it fails. Why? What a I missing?

here is proof that they both match

these are the block to show

the current_ip

the modified_ip

Any help appreciated


Why won’t you use Do it to debug your blocks ? Without knowing the value of global mod_ip and tinydb’s value know one can tell why

1 Like

Hi Dora

I have been trying yp get DoIt to work for ages

but cant

but its working now