Based on what criteria? if you just want to split the array at element 30,
you could use array_splice to get the necessary data...
----- Original Message -----
From: "Daniel Harik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 01, 2001 2:16 AM
Subject: [PHP] split array in 2 halfs


> Good evening
>
> I was wondering how can I split, array that has 60 elements in it,
> into 2 arrays with 30 elements each?
>
>
> Thank You very much and have a good night :-)
>
>
> --
> 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