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


> > > > <pre><? echo mgd_element($action); ?></pre>
> > > It returns
> > >
> > > Fatal error:  Call to undefined function:  mgd_element() in
> > > content on line 40
> >
> > mmmh, my fault, it's mgd_template insteade of mgd_element...
> using mgd_template it returns executes the element and displays
> it's content again.

what do you mean by "it returns executes" ?
it should only display the element content, try to enclose it with
htmlentities():

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

> Daniel



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

Reply via email to