• I currently have a non-wordpress site that I am attempting to convert to wordpress. Some pages, like this one:

    http://ewh.ieee.org/r1/schenectady/UpcomingEvents.php

    are php files that generate the page (using sqlite and php). Is there a way to use this type of file directly in wordpress (as a wordpress “page”)? Or is there some more built-in mechanism to store and query databases to create tables of data like this?

    Thanks!

    David

Viewing 1 replies (of 1 total)
  • questions4wp

    (@questions4wordpress)

    Your post has a number of questions, I’ll try to answer them as best I can!

    -If you want to use prewritten PHP in a wordpress page, you can install the Exec-PHP and basically just copy and paste the PHP and work from there. This will allow you to use basically any PHP inside of a page.
    – There does exist some mechanism for querying databases, if it’s the same as the database where WordPress is stored, using the wpdb class – http://codex.wordpress.org/Class_Reference/wpdb. I am not experienced with using WordPress to access other databases in any way other than straight PHP, but such a function may indeed exist

Viewing 1 replies (of 1 total)

The topic ‘Using a php file as a "page"’ is closed to new replies.