We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16912
    • 1 Posts
    Hello to everyone,
    I am trying to build something for my clients web users to update and modify their user information from the main site and was looking into using TV’s to accomplish this.

    My question is how can I use a etomite function ($etomite->getLoginUserID() ) within a query if using @SELECT (SQL query)
    I would like to be able to do something like this:

    @SELECT email FROM etomite_web_user_attributes WHERE id=$etomite->getLoginUserID()

    does this make any sense?

    Thanks in advance!
      • 3749
      • 24,544 Posts
      You could do that, but you might want to take a look at WebLoginPE, which maintains user profiles and lets users update them. smiley
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting