in reply to Looping through an array
Your code doesn't compile under strict. That's because $doc_data is declared only in the for loop, but you use it outside of it in the else part. Without strict, it runs, but doesn't output anything.
Please, try to post the actual code. Help us to help you.
|
|---|