Thats not what i ment, i am sorry.
I have a script lets say called script.php and i have 100 ip addresses in my database.
The script is made to connect to a server and read some info and add the info he gets to the database.
Now i want it to be that the script looks in the database, take an ip and when the script is done, he takes the next ip till he has done all ip's