take a look at the manual 
http://www.php.net/manual/en/function.array-slice.php  
it will show you the right way to do it

jim
----- Original Message ----- 
From: "Daniel Harik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 31, 2001 11:25 PM
Subject: Re[2]: [PHP] split array in 2 halfs


> Want to split it in half
> 
> 1 Big array:
> 
> 1
> 2
> 3
> 4
> 5
> 6
> 
> Want to make
> 
> 
> 1 Small array:
> 
> 1
> 2
> 3
> 
> 2 Small array:
> 4
> 5
> 6
> 
> Thank You
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to