Im trying to make an IP-address register in php/mysql. And I want a function to get the "first avalible", but I'm not sure on how to do this.. (Not even sure if the forum is still somewhat active?)
Say you have a table with 192.168.0.1, 192.168.0.2, 192.168.0.3, 192.168.0.4, 192.168.0.5.. Then the next would be 192.168.0.6 and this would be returned to the page. Any ideas on how I should do this? Tried searching on google - but no luck :/
Post here if you need help with SQL.
1 post • Page 1 of 1