OK, here is my problem, and it should be be this difficult-
I am trying to SEARCH a MySQL Database for IP addresses that CLOSELY match each other.
Here is what is happening-
$checksum1 is the IP result from a mysql Record.
$checksum2 is where I am trying to get the first 6 characters of the IP address from checksum1.
Here is my dilemma- How can I can get CHECKSUM2 ? I have tried substr( ) with many different variables and it is not giving me the first 6 characters. Is there a function that can help me get just the first 6 characters of a string or is it possible?
thanks for your help.