RE: [PHP] Array help
| From: | Jay Blanchard | Date: | Tue, 02 Nov 2004 21:12:59 +0000 |
| Subject: | RE: [PHP] Array help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-200958@lists.php.net to get a copy of this message | ||
[snip]
[2] => Array(
[0] => Array(
[0] => {textlinks 0_15}
[1] => {textlinks 16_30}
)
[1] => Array(
[0] => 0_15
[1] => 16_30
)
)
As you can see the third one (array [2] )for some reason is coming out
as a
double dimension array, is there any way to make it too into a single
dimension and have just one key/value like the first 2 arrays?
[/snip]
Yes.
Of course the question is, how are you builing this array?