in reply to Re: build mysql data structure from text file
in thread build mysql data structure from text file

Of course you can solve it with recursion. But why? There is no need for it as it's really simple to solve it by iterating. The core of my code above simply stores for each number of tabs the id of the parent in an array. That's it.
  • Comment on Re: Re: build mysql data structure from text file