On Sun, November 26, 2006 3:45 pm, jekillen wrote:
> 1. one large array exploded around \n
> 2. then a loop looks for '\n' items
> and records the index number of these items
> as well of keeping a count: ($c)
> 3. Since $c is a variable it can represent a different
> number each tim
On Nov 26, 2006, at 5:11 AM, Stut wrote:
jekillen wrote:
I am writing some code that will format results of a search for
display.
I need to split an array into several different arrays but I won't
know
before hand how many, so, I am looking for a way to dynamically
generate arrays for this
On Sun, November 26, 2006 12:19 am, jekillen wrote:
> I am writing some code that will format results of a search for
> display.
> I need to split an array into several different arrays but I won't
> know
> before hand how many, so, I am looking for a way to dynamically
> generate arrays for this p
jekillen wrote:
I am writing some code that will format results of a search for display.
I need to split an array into several different arrays but I won't know
before hand how many, so, I am looking for a way to dynamically
generate arrays for this purpose.
My present direction is to use the fol
# [EMAIL PROTECTED] / 2006-11-25 22:19:05 -0800:
> Hello;
> I am writing some code that will format results of a search for display.
> I need to split an array into several different arrays but I won't know
> before hand how many, so, I am looking for a way to dynamically
> generate arrays for this
If eval is the answer, you're asking the wrong question.
You haven't given enough information to really say the best way to do what it
is you're doing. However, I suspect that explode() and arrays of arrays
(i.e., $a[1][2]) will do what you need to do much better than messing around
with eval.
Hello;
I am writing some code that will format results of a search for display.
I need to split an array into several different arrays but I won't know
before hand how many, so, I am looking for a way to dynamically
generate arrays for this purpose.
My present direction is to use the following cod
7 matches
Mail list logo