Thread: Forum help
View Single Post
Old 12-17-2007, 06:25 PM   #9 (permalink)
Tanax
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

@hostfreak- That's exactly what I want!

Because I'm fetching the threads in a specific forum, and I want all threads in the same array.

If I fetch those threads, all threads will have different IDs, and that's why I want to seperate them with different arrays, but still in the same variable.. if that makes any sense.

Because there will be multiple 'thread_id' keys if I put them in the same.
And it'll be a total mess. That's why I want to seperate them :)

But when I add them, should it be like:

PHP Code:
$array[$i] = mysql_fetch_array($query); 
or

PHP Code:
$array[$i][] = mysql_fetch_array.... 
Tanax is offline  
Reply With Quote