We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6135
    • 3 Posts
    Hi,

    As a newbie, I just started to use modx as a framework for my new website. Works like a charm so far.
    Now I want to create a table with data that is in another mysql database (same hosting provider).
    I want to be able to put this table on several pages within my site.
    Can anyone tell me what the best way is to achieve that?
    With a Snippet or chunk or different??
    And what would be the best way to make a call to the database? With custom code or is there a build in component for db calls?
    An example would be much appreciated.

    Thanks in advance for your reply

    Cuno



      • 27442
      • 103 Posts
      You could look at the snippet db2form http://modxcms.com/forums/index.php/topic,18542.0.html