Title: Pull from Database directly/formatting issues
Last modified: August 18, 2016

---

# Pull from Database directly/formatting issues

 *  [rrode](https://wordpress.org/support/users/rrode/)
 * (@rrode)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/pull-from-database-directlyformatting-issues/)
 * I have created some very simple PHP-based pages that pull information directly
   from the word press database. I know I could hack around with the regular WP 
   pages to get what I want, but what I need is so simple I’d rather create it from
   scratch.
 * And I have my page working fine EXCEPT I can’t figure out how to correct the 
   display problems with quotes, apostrophe’s and other symbols with text copied
   from Word. I’m using Markdown, so I get the paragraph breaks OK, but that doesn’t
   fix the problem with symbols. When I look at the posts through WP they come out
   fine, so I know there is something else I’m missing.
 * Can someone point me in the right direction or provide some helpful pointers?
   Even just having the example of which code in WP handles this would help me figure
   this out.
 * Thanks

The topic ‘Pull from Database directly/formatting issues’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [formatting](https://wordpress.org/support/topic-tag/formatting/)
 * [MSWord](https://wordpress.org/support/topic-tag/msword/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 0 replies
 * 1 participant
 * Last reply from: [rrode](https://wordpress.org/support/users/rrode/)
 * Last activity: [20 years, 10 months ago](https://wordpress.org/support/topic/pull-from-database-directlyformatting-issues/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
