OK, I need to execute a php script from another php script (using include()) but it has to run a few times because of a loop. It seems like it calls it as many times as its supposed to but that it only runs once. What am I doing wrong?
Make what you want to happen into a function, put it in an include file, then include the file at the top of your document and call the function as many times as you need to,