php-general Digest 24 Mar 2012 12:39:43 - Issue 7742
Topics (messages 317240 through 317245):
Re: Thinking out loud - a continuation...
317240 by: Jay Blanchard
317243 by: Robert Cummings
317244 by: Robert Cummings
317245 by: Jay Blanchard
Re: foreach
[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
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 own
On Sat, Mar 24, 2012 at 7:41 AM, Jay Blanchard
jay.blanch...@sigmaphinothing.org 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
On 3/23/2012 10:11 PM, Robert Cummings wrote:
On 12-03-23 06:30 PM, Simon Schick wrote:
2012/3/23 Robert Cummingsrob...@interjinn.com
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
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 Cummingsrob...@interjinn.com
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
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
[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 look
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,
[snip]
A little tweak here... a little tweak there:
[/snip]
if( !isset( $focus[$name] ) )
{
$focus[$name] = array
(
'name' = $name,
'children' = array(),
[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]
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 that I do not
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]
It has
13 matches
Mail list logo