What have you tried? Perhaps a loop would suffice? Or you could try to do it recursively.
Type: Posts; User: KevinWorkman
What have you tried? Perhaps a loop would suffice? Or you could try to do it recursively.
Try adding a ton of print statements, or better yet stepping through the code with a debugger, until you understand what's going on. Get it boiled down to a few lines- what you've posted is way more...