Selecting the highest-minimum value?

Post here if you need help with SQL.
Post Reply
icey2k
Posts: 16
Joined: Mon Jul 04, 2011 4:26 pm

Selecting the highest-minimum value?

Post by icey2k »

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 Reply