I'm working on a web app using php snmp and I want to enter an ip range or an ip address with a netmask and then perform some snmp lookups on the whole range entering the returned data into a mysql database.

Can anyone point me to any code to achieve this?