Using API/lite to write username to the page

Discussion in 'Customization & add-ons' started by hilary, Mar 19, 2013.

  1. hilary

    hilary aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    104
    Hi,

    The docs for API/lite generously assume I know php, which I don't.

    After using, say,
    <?php Am_Lite::getInstance()->getUsername() ; ?>

    how do I go from there to writing the username in the page?

    Thanks :)
  2. hilary

    hilary aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    104
    Not to worry - found it.

    <?php echo Am_Lite::getInstance()->getUsername() ;?>

    :rolleyes:

Share This Page