29.01.2010, 22:38
Just because a column has a name 'ip' doesn't mean it is a string.
Here is an example value: 142487xxx
SELECT INET_NTOA(ip) FROM table2 = 80.x.x.x
http://dev.mysql.com/doc/refman/5.0/...tion_inet-ntoa
And actually "ip = '%s'", result);" this was the first thing that caused many problems.
For some reasons the script thinks that there are no more rows in table :/
Here is an example value: 142487xxx
SELECT INET_NTOA(ip) FROM table2 = 80.x.x.x
http://dev.mysql.com/doc/refman/5.0/...tion_inet-ntoa
And actually "ip = '%s'", result);" this was the first thing that caused many problems.
For some reasons the script thinks that there are no more rows in table :/