I want to store ip2logn($_SERVER[\'REMOTE_ADDR\']) values in the db for some reason.
ip2logn($_SERVER[\'REMOTE_ADDR\'])
Practically, as I see, $_SERVER[\'REMOTE_ADDR\'] alwa
$_SERVER[\'REMOTE_ADDR\']
$_SERVER['REMOTE_ADDR'] is always set even if you are working on localhost and can't be unset except you programmatically removed it And if you saved it in INT there would be no dots so you should save it as varchar