PHP Newbie Q, seperating even from odd in an array
| From: | Chris Skinner | Date: | Mon, 11 Feb 2002 17:55:52 +0000 |
| Subject: | PHP Newbie Q, seperating even from odd in an array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-84299@lists.php.net to get a copy of this message | ||
Hi all,
I am reading into an array from a text file, and when referencing, I would
like to reference the even and odd counts of the array seperately. I am
trying to split them up into two columns to more easily manage a list.
Is there a call that allows -- > if $n = even {
Thanks!
--Chris