Currently I'm trying to crated a system that is kind of like a forum, but its aimed for creating a project outline.
I have a thread id that works like this
1 = thread 1
1_1 = thread: 1 subthread:1 ( so this is a entry under thread 1.
So I can divide the variables and put them in their own variables but I'm trying to figure out how to create a new array with these variables. In the case that we have 1_1 the array should look like:
Array([1]=>Array([1]=>Array()))
I tried making a dynamic string that had Array([1]=> (etc.) and try stuffing that in a variable, but the array kept getting overwritten in the next database row. So I think the only way I can do this is go:
$overview['subthreads'][[(firstsubthreads_number)][(secondsubthreads_number]
I'm running into problem with this too. I'm basicaly trying to take a array created by explode and then stick all the variables within each other (as an array) starting in the first one.
I'm trying this because this is an overview and there will be steps within steps within steps so I thought this would be the best way. If anyone can think of a better way please tell me.
Thanks!