WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] mysql and php from other tables outside WordPress in a post (6 posts)

  1. tinem
    Member
    Posted 7 years ago #

    mysql and php from other tables in a post? Is this possible and if yes how? Is there a plugin?

    I would like to show some informations/images in a post from other tables out of the WordPress site but don't know if it's possible?

  2. tinem
    Member
    Posted 7 years ago #

    If this is completely impossible please tell me so? I'm a beginner and maybe that's why I have hard to understand if this is possible?

  3. MichaelH
    Member
    Posted 7 years ago #

    Well guess you could use a plugin that allows PHP code in a post and then put code in the post to connect to and extract data from another database.

  4. tinem
    Member
    Posted 7 years ago #

    Could you or any other tell a little more about how to do this and maybe show me a site or an examlpe where it's tried and maybe which plugin to use, please?

  5. MichaelH
    Member
    Posted 7 years ago #

    This plugin allow you to put php code in posts:
    http://www.nosq.com/blog/2006/01/runphp-plugin-for-wordpress/

    MySQL connection information:
    http://us.php.net/function.mysql-pconnect

  6. tinem
    Member
    Posted 7 years ago #

    Thanks for your reply.

    I GOT it working and it's functioning great. I used Exec-php plugin from here http://bluesome.net/post/2005/08/18/50/#execute_php.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.