Kajal's Blog

Thursday, February 18, 2010

Breaking a big array into small parts

<?php

$smallarray1=array_slice($bigarray, 0, sizeof($bigarray) / 2);
$smallarray2=array_slice($bigarray, sizeof($bigarray) / 2);

?>
Posted by kajal Mondol at 3:17 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Php

1 comment:

souravkumarpaul said...

Thanks!

February 22, 2010 at 5:14 AM

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Search This Blog

Blog Archive

  • ▼  2010 (58)
    • ►  September (1)
    • ►  March (7)
    • ▼  February (10)
      • Fatal error: Allowed memory size of 8388608 bytes ...
      • Object Oriented Programming with PHP
      • Object Oriented Programming with PHP
      • BASIC COMPUTER OPERATIONS
      • How to get current page URL using PHP?
      • Date format converting Code In PHP
      • Breaking a big array into small parts
      • Code for Fav icon
      • how to get File extention using PHP
      • Essential Joomla Extensions
    • ►  January (40)
  • ►  2009 (4)
    • ►  November (4)
© kajal4ever.blogspot.com. Awesome Inc. theme. Powered by Blogger.