|
-
August 5th, 2008, 03:55 AM
#6
Re: PHP - Function stops mid-loop.
Could it be that there's some terminating character in your document (or, the data you are processing) at that position? I thought of this because Teranoz tested your code, and it runs fine on his end (assuming he used a different file).
Also, a counter-test would be to change the increment (for example, increment $i by 2 in every loop iteration), and see where it stops then.
A few friendly reminders: * Use Code Tags when posting code.
* Rate good replies/post by clicking "Rate this Post" and leaving a positive feedback. * Things should be made as simple as possible, but not any simpler. -- Albert Einstein
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|