[development] programming question (drupal specific)

Earl Miles merlin at logrus.com
Wed Sep 13 18:18:49 UTC 2006


Maciek Perlinski wrote:
> Tadej and Earl its nice you analyze the sql query but after sql query
> execution $nodes array will be empty won't it?=)

Not empty, actually, but it will only have one record. Good catch, I 
missed that.

In example 2, $nodes[$node->nid] needs to be $nodes[$node[$nid]]


More information about the development mailing list