|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-09-07 13:28 UTC] kalowsky@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 16:00:01 2025 UTC |
The problem is that I used a foreach on $DBfile that = file("DBfile.txt"); (that file has 14 lines) like this: foreach ($DBfile as $DBrida) { but the foreach ran only 1 time (i checked it with echos) the possible problem was that it had too many operations in it including other foreach'es. (and there were no errors) I replaced the foreach with a counter and while loop and the script worked perfectly.