Forums

Custom php mysql query in post or page (3 posts)

  1. jase1979
    Member
    Posted 3 years ago #

    Hi,

    I have created a php script that pulls information from mysql and prints it to the web browser, I need to know how I can run this custom query and display it in a page or post.

    I have run the php script on the server, that work find. I just need to know how to incorporate it into wordpress.

    Thanks in anticipation of your responses.

  2. MichaelH
    Volunteer
    Posted 3 years ago #

    You could put it in a Template or you could get a PHP Code plugin, then put your PHP code in a post.

    Also review wpdb.

  3. jase1979
    Member
    Posted 3 years ago #

    Thanks, I used EXEC-php plugin, does exactly what I need.

Topic Closed

This topic has been closed to new replies.

About this Topic