Pull in data from custom DB
-
I have a form that is already storing data in the database. I’d like the results of that database to be pulled into the plugin. I’ve been able to do this by creating a short code in the functions file in the past by using something like:
$results = $wpdb->get_results (“SELECT * FROM my_form_name”)
foreach ( $results as $result ) {
$result->email;
};But I’d like it to interface with your plugin. Do you have a guide on how to do this?
Also, when adding custom functionality to your plugin. Where do I enter the code? My functions file?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Pull in data from custom DB’ is closed to new replies.