----- Original Message ----- 
From: "Daniel S. Reichenbach" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 23, 2001 1:12 PM
Subject: RE: [midgard-user] Selecting page elements based on arguements


> > > >   <? $element = "<[$action]>"; ?>
> > > >   &(element:p);
> > > >
> > > > but I guess your problem lies elsewhere.
> > > Well, i'm not sure, but do i have to use <? ?> in the included
> > > elements again? If not, this could have been the error
> > 
> > What does contain $action ? the name of the element or the code 
> > you want to
> > execute ?
> $action contains the name of the element to be executed and for
> testing purposes each element includes a simple
> <?
> echo $action;
> ?>

if you use midgard-1.4.1/PHP4, what does the following code return/display:

<pre><? echo mgd_element($action); ?></pre>


> Daniel



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to