Sam Przyswa <[EMAIL PROTECTED]> wrote:
> There is a part of my script:
>
> $first_tree = *mgd_list_pages($root_page);
> *
> while( $first_tree->fetch() ) {
> if ($first_tree->parameter('bouton', 'position') ||
> $first_tree->parameter('bouton', 'syndicat')) {
> $list[] = array(
> "id" => $first_tree->id,
> "order" => $first_tree->parameter('bouton',
> 'position'),
> "separ" => $first_tree->parameter('bouton',
> 'separateur'),
> "syndic" => $first_tree->parameter('bouton',
> 'syndicat'),
> * "name" => $first_tree->name,*
> * *"title" => $first_tree->title
> );
> }
>
> There is a part of the return query:
>
> +------+-----------------------+-------+---------------------------
> | id | name | style | title
> +------+-----------------------+-------+---------------------------
> | 157 | Acteurs_Branche | 36 | Acteurs de la branche
>
> As you can see the name field is returned
>
> I rised the limit of PHP scripts memory but it's the same, echo
> *$first_tree->name; *return 0 (NULL)*
> *
I do not see any echo or print in your example.
Do You call it in "while" loop, or after?
Piotras
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]