My MySQL originally had IP addresses in varchar 'e, but on the Internet they write that it is best to use INT ( UNSIGNED ) to store IP addresses. I found information about certain functions like INNET_NTOA() , INNET_ATON() in MySQL, and in php ip2long() . So, I use the PHP ip2long() function, respectively, in the INT (11) UNSIGNED .
But now the IP has been converted to this: 396157915, that is, it returns numbers without dots. Actually the question is how to bring it into a normal view?