but from an overhead point of view am I burdening the server by putting lots of 
conditions like that in?

-----Original Message-----
From:   Emiliano [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, January 26, 2000 11:44 AM
To:     '[EMAIL PROTECTED]'
Subject:        RE: [midgard] simple ?

On Wed, 26 Jan 2000, Ken Pooley wrote:

> I have been looking at this too, it seems pretty straight forward...though 
> this explanation helps. Is there a way of making it conditional though? I 
> thought of using the type flag for that but would that add too much server 
> overhead? ( like if &topic=2 then :h else nothing)

<?php if ($topic == 2) { ?>&(var:h);<?php } else { ?>&(var);<?php } ?>

would work.

emile


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to