Viewing 4 replies - 1 through 4 (of 4 total)
  • You can dynamically build the shortcode with PHP, so if you can access the remote database okay, yes, you can feed it to WP charts.

    After a quick Google, something similar to the below may do the trick to get you connected. Obviously you will need to know the structure of the DB if you wish to query it!

    <?php
    
    mysql_connect("mysite.com:3306", "admin", "1admin") or die(mysql_error());
    echo "Connected to MySQL<br />";
    
    ?>

    Never tried it myself mind!

    Hope this helps,

    Ryan

    Thread Starter bloggy2013

    (@bloggy2013)

    The developer came with a plugin which allows an external DB to be used. I’m guessing such a plugin exists in the plugin sections. Just didn’t know this at the time.

    Did you find the plug-in? I would like to do this as well.

    Thread Starter bloggy2013

    (@bloggy2013)

    No, it was installed by a company I hired to build me something. It is theirs, proprietary.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remote DB as input’ is closed to new replies.