On 18 Nov, Michael Ed wrote:
> How do I get information about where I am, to use in some if statements
> ?

You can use the midgard.uri variable. For example:

<?php if ($midgard->uri == '/') { ?>
  <p>Something
<?php } else { ?>
  <p>Something else
<?php } ?>
 
> Blixten

/Bergie

-- 
-- Henri Bergius -- +358 40 525 1334 -- [EMAIL PROTECTED] --
               http://www.iki.fi/Henri.Bergius


--
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