array question

From: Date: Mon, 02 Jun 2003 01:58:00 +0000
Subject: array question
Groups: php.db 
Request: Send a blank email to php-db+get-28200@lists.php.net to get a copy of this message
After Wracking my brain for too long on this I decided to give in and ask. I have holes in an array that came from a database. I put the holes there with unset some values so no prob. Now I need to fill the holes. Below is what I have and what I need for further manipulations. Array ( [0] => Array ( [0] => Completed ) [1] => Array ( [1] => In Progress ) [2] => Array ( [0] => Completed ) [3] => Array ( [0] => Completed [1] => In Progress [3] => Deferred ) What I need is: Array ( [0] => Array ( [0] => Completed ) [1] => Array ( [0] => In Progress ) [2] => Array ( [0] => Completed ) [3] => Array ( [0] => Completed [1] => In Progress [2] => Deferred ) Hope this makes sense John Coder

« previous php.db (#28200) next »