---- "Miller wrote: 
> Ok I have a script that grabs data from a page and puts it in a db, I need
> to run this script 26 times on 26 different pages on the same site, is there
> a way to do this without making 26 different scripts load? Should I post the
> script?
> Thanks, 
> T.Miller

Sure it can be done...

Change your script so that it has the following:
1. array with the page names/urls in it
2. foreach loop right after the array to parse it
3. in the current place of the file name, but the variable
4. Make sure to close the foreach loop


foreach ($pages as $page)
// do all the grabbing and db throwing



PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to