On 12-03-24 04:11 PM, Jay Blanchard wrote:
[snip]
One more little tweak may be required. The JSON looks like this
{"Executives and Management":{"name":"Executives and Management","children":{
The first part {"Executives and Management": needs to be removed. I think I
know what to do.
[/snip]
[snip]
> One more little tweak may be required. The JSON looks like this
>
> {"Executives and Management":{"name":"Executives and Management","children":{
>
> The first part {"Executives and Management": needs to be removed. I think I
> know what to do.
[/snip]
It has become painfully obvious t
[snip]
> A little tweak here... a little tweak there:
[/snip]
One more little tweak may be required. The JSON looks like this
{"Executives and Management":{"name":"Executives and Management","children":{
The first part {"Executives and Management": needs to be removed. I think I
know what to do
[snip]
> A little tweak here... a little tweak there:
[/snip]
>
>
>if( !isset( $focus[$name] ) )
>{
>$focus[$name] = array
>(
>'name' => $name,
>'children' => array(),
>
On 12-03-24 01:09 PM, Jay Blanchard wrote:
[snip]The crux of it is:
$focus =&$focus[$name];
[/snip]
It works as I expect so far. All I have to do is figure out how to make the
element a name: element in the JSON. for instance an element would look like
this
{
name: "Bob",
child
[snip]The crux of it is:
>
>$focus = &$focus[$name];
> [/snip]
It works as I expect so far. All I have to do is figure out how to make the
element a name: element in the JSON. for instance an element would look like
this
{
name: "Bob",
children: []
}
So the PHP array would have to l
On 12-03-24 08:41 AM, Jay Blanchard wrote:
On Mar 23, 2012, at 11:24 PM, Robert Cummings wrote:
On 12-03-23 05:41 PM, Jay Blanchard wrote:
[-- DELETED GARBAGE --] :)
I just realized... I've been stuck in a thinking rut. I latched onto one
solution that works well in some case but didn't f
On 12-03-24 11:15 AM, Al wrote:
On 3/23/2012 10:11 PM, Robert Cummings wrote:
On 12-03-23 06:30 PM, Simon Schick wrote:
2012/3/23 Robert Cummings
On 12-03-23 11:16 AM, Arno Kuhl wrote:
it still does not produce the correct result:
0 1 3 6 10 15 21
0 1 3 6 10 15 15
This looks like a bu
On 3/23/2012 10:11 PM, Robert Cummings wrote:
On 12-03-23 06:30 PM, Simon Schick wrote:
2012/3/23 Robert Cummings
On 12-03-23 11:16 AM, Arno Kuhl wrote:
it still does not produce the correct result:
0 1 3 6 10 15 21
0 1 3 6 10 15 15
This looks like a bug... the last row should be the s
On Sat, Mar 24, 2012 at 7:41 AM, Jay Blanchard
wrote:
>
> On Mar 23, 2012, at 11:24 PM, Robert Cummings wrote:
>
>> On 12-03-23 05:41 PM, Jay Blanchard wrote:
>>> [-- DELETED GARBAGE --] :)
>>
>> I just realized... I've been stuck in a thinking rut. I latched onto one
>> solution that works well
On Mar 23, 2012, at 11:24 PM, Robert Cummings wrote:
> On 12-03-23 05:41 PM, Jay Blanchard wrote:
>> [-- DELETED GARBAGE --] :)
>
> I just realized... I've been stuck in a thinking rut. I latched onto one
> solution that works well in some case but didn't fully examine the nuances of
> your o
[snip]
> Did you send me a sample dump for your table :)
[/snip]
I'll do that today. I got side-tracked last night.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
12 matches
Mail list logo