Title: SQL Processing in a Page
Last modified: August 21, 2016

---

# SQL Processing in a Page

 *  [wrmayhew](https://wordpress.org/support/users/wrmayhew/)
 * (@wrmayhew)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/sql-processing-in-a-page/)
 * From a WordPress page. I want to be able to retrieve the Bible reference for 
   a daily Bible reading from an SQL file I created that I will use to issue a call
   and format the data to be presented on the page. I have the call working with
   the passage parameter hard coded. The problem is I can’t get any code to access
   the SQL table I created.
 * To test the access to my table I am using the plug in insert-php to write the
   PHP code which is below.
 * [insert_php]
 * global $wpdb;
 * $myrows = $wpdb->get_results( “SELECT reading_date, reading_passage FROM 90DayGospelPlan”);
 * echo “my rows = ” $myrows;
 * [/insert_php]
 * When it runs I get nothing. I would appreciate it is someone would steer me in
   the right direction. Thanks in advance

The topic ‘SQL Processing in a Page’ is closed to new replies.

## Tags

 * [sql](https://wordpress.org/support/topic-tag/sql/)
 * [table](https://wordpress.org/support/topic-tag/table/)
 * [wpdb](https://wordpress.org/support/topic-tag/wpdb/)

 * 0 replies
 * 1 participant
 * Last reply from: [wrmayhew](https://wordpress.org/support/users/wrmayhew/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/sql-processing-in-a-page/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
